mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Updated SE_BardAEDot to no longer damage target while target is moving (consistent with live)
This commit is contained in:
parent
9e26ebb9e5
commit
8cdcd189f5
@ -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: 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
|
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)
|
(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 ==
|
== 06/25/2014 ==
|
||||||
Kayen: Updated SE_Hate (Renamed from SE_Hate2) to now properly work for instant +/- hate spells.
|
Kayen: Updated SE_Hate (Renamed from SE_Hate2) to now properly work for instant +/- hate spells.
|
||||||
|
|||||||
@ -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
|
// SE_CurrentHP is calculated at first tick if its a dot/buff
|
||||||
if (buffslot >= 0)
|
if (buffslot >= 0)
|
||||||
break;
|
break;
|
||||||
|
//This effect does no damage if target is moving.
|
||||||
|
if (IsMoving())
|
||||||
|
break;
|
||||||
|
|
||||||
// for offensive spells check if we have a spell rune on
|
// for offensive spells check if we have a spell rune on
|
||||||
int32 dmg = effect_value;
|
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);
|
effect_value = CalcSpellEffectValue(spell_id, i, caster_level, caster);
|
||||||
|
|
||||||
if (invulnerable || /*effect_value > 0 ||*/ DivineAura())
|
if (IsMoving() || invulnerable || /*effect_value > 0 ||*/ DivineAura())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if(effect_value < 0) {
|
if(effect_value < 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user