mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-21 01:51:30 +00:00
Implement SE_TossUP -- actually a DMG SPA
This just causes damage to NPCs only
This commit is contained in:
parent
d71e79b306
commit
28cb11f521
@ -2075,6 +2075,9 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
|||||||
#ifdef SPELL_EFFECT_SPAM
|
#ifdef SPELL_EFFECT_SPAM
|
||||||
snprintf(effect_desc, _EDLEN, "Toss Up: %d", effect_value);
|
snprintf(effect_desc, _EDLEN, "Toss Up: %d", effect_value);
|
||||||
#endif
|
#endif
|
||||||
|
if (IsNPC()) {
|
||||||
|
Damage(caster, std::abs(effect_value), spell_id, spell.skill, false, buffslot, false);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user