fix: Players casting is sometimes not disturbed (#1138)
This commit is contained in:
parent
2ae762904f
commit
23ae7a3c26
4 changed files with 22 additions and 44 deletions
|
|
@ -1,13 +1,12 @@
|
|||
namespace Server.Spells
|
||||
namespace Server.Spells;
|
||||
|
||||
public enum SpellState
|
||||
{
|
||||
public enum SpellState
|
||||
{
|
||||
None = 0,
|
||||
None = 0,
|
||||
|
||||
Casting =
|
||||
1, // We are in the process of casting (that is, waiting GetCastTime() and doing animations). Spell casting may be interupted in this state.
|
||||
// We are in the process of casting (that is, waiting GetCastTime() and doing animations). Spell casting may be interupted in this state.
|
||||
Casting = 1,
|
||||
|
||||
Sequencing =
|
||||
2 // Casting completed, but the full spell sequence isn't. Usually waiting for a target response. Some actions are restricted in this state (using skills for example).
|
||||
}
|
||||
// Casting completed, but the full spell sequence isn't. Usually waiting for a target response. Some actions are restricted in this state (using skills for example).
|
||||
Sequencing = 2
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue