diff --git a/changelog.txt b/changelog.txt index 56307b361..c86b926fa 100644 --- a/changelog.txt +++ b/changelog.txt @@ -9,6 +9,7 @@ takes more than the specified damage amount in a SINGLE hit, then fade the buff. Kayen: Implemented SE_LimitSpellClass - Focus Limits spell to pre defined categories. (3=Cures,3=Offensive, 6=Lifetap) Kayen: Changed SE_LimitMaxMana to SE_MeleeVulnerability - Weakness/Mitigation verse melee damage (Despite lives SPA lable as the former it clearly is not what the effect does from all spell examples) +Kayen: Updated SE_BardAEDot to no longer damage target while target is moving (consistent with live) == 06/25/2014 == Kayen: Updated SE_Hate (Renamed from SE_Hate2) to now properly work for instant +/- hate spells. diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 8c49414d7..dfe8489c0 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -2328,6 +2328,9 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial) // SE_CurrentHP is calculated at first tick if its a dot/buff if (buffslot >= 0) break; + //This effect does no damage if target is moving. + if (IsMoving()) + break; // for offensive spells check if we have a spell rune on int32 dmg = effect_value; @@ -3391,7 +3394,7 @@ void Mob::DoBuffTic(uint16 spell_id, int slot, uint32 ticsremaining, uint8 caste { effect_value = CalcSpellEffectValue(spell_id, i, caster_level, caster); - if (invulnerable || /*effect_value > 0 ||*/ DivineAura()) + if (IsMoving() || invulnerable || /*effect_value > 0 ||*/ DivineAura()) break; if(effect_value < 0) {