mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Spells] Updates to spell field 'cast not stands' to ignore casting restrictions (#1938)
* test * complete * Update effects.cpp * Update spells.cpp * Update effects.cpp * [Spells] Support for bards using Disciplines while casting or /melody. Support for spell field 'cast not standing' not allow casting from divine aura * [Spells] Support for bards using Disciplines while casting or /melody. DA bypass logic for spells with field 'cast_not_standing' * updates * stun and mez bypass * Update spdat.cpp * Update spdat.cpp * Update spells.cpp
This commit is contained in:
@@ -1671,3 +1671,15 @@ bool CastRestrictedSpell(int spellid)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool IgnoreCastingRestriction(int32 spell_id) {
|
||||
/*
|
||||
field 'cast_not_standing' allows casting when sitting, stunned, mezed, Divine Aura, through SPA 343 Interrupt casting
|
||||
Likely also allows for casting while feared, but need to confirm. Possibly also while charmed.
|
||||
This field also allows for damage to ignore DA immunity.
|
||||
*/
|
||||
if (spells[spell_id].cast_not_standing) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user