Implement cast_not_standing and fix Cazic Touch

No idea why this spell field does this, but that's what the client
is doing with it ...
This commit is contained in:
Michael Cook (mackal)
2016-07-23 18:40:17 -04:00
parent f428a8a56a
commit 343b781e74
5 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -3660,7 +3660,8 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
}
case SE_InterruptCasting: {
if (IsCasting()) {
if (zone->random.Roll(spells[buff.spellid].base[i])) {
const auto &spell = spells[casting_spell_id];
if (!spell.cast_not_standing && zone->random.Roll(spells[buff.spellid].base[i])) {
InterruptSpell();
}
}