Core/Spells: Implemented SPELL_ATTR9_AUTOCAST_OFF_BY_DEFAULT
Port From (https://github.com/TrinityCore/TrinityCore/commit/24096f6b661161f296bfef4a3303789f245873c4)
This commit is contained in:
@@ -433,6 +433,11 @@ namespace Game.Spells
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool IsAutocastEnabledByDefault()
|
||||
{
|
||||
return !HasAttribute(SpellAttr9.AutocastOffByDefault);
|
||||
}
|
||||
|
||||
public bool IsStackableWithRanks()
|
||||
{
|
||||
if (IsPassive())
|
||||
|
||||
Reference in New Issue
Block a user