mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +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:
@@ -3911,7 +3911,7 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
|
||||
case SE_InterruptCasting: {
|
||||
if (IsCasting()) {
|
||||
const auto &spell = spells[casting_spell_id];
|
||||
if (!spell.cast_not_standing && zone->random.Roll(spells[buff.spellid].base_value[i])) {
|
||||
if (!IgnoreCastingRestriction(spell.id) && zone->random.Roll(spells[buff.spellid].base_value[i])) {
|
||||
InterruptSpell();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user