mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-20 02:33:53 +00:00
Spell push values can be negative
This commit is contained in:
parent
3cb7b362c8
commit
9e4f728f21
@ -2663,7 +2663,7 @@ void Mob::BardPulse(uint16 spell_id, Mob *caster) {
|
||||
|
||||
action->effect_flag = 4;
|
||||
|
||||
if(spells[spell_id].pushback > 0 || spells[spell_id].pushup > 0)
|
||||
if(spells[spell_id].pushback != 0.0f || spells[spell_id].pushup != 0.0f)
|
||||
{
|
||||
if(IsClient())
|
||||
{
|
||||
@ -3937,7 +3937,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, bool reflect, bool use_r
|
||||
// the complete sequence is 2 actions and 1 damage message
|
||||
action->effect_flag = 0x04; // this is a success flag
|
||||
|
||||
if(spells[spell_id].pushback > 0 || spells[spell_id].pushup > 0)
|
||||
if(spells[spell_id].pushback != 0.0f || spells[spell_id].pushup != 0.0f)
|
||||
{
|
||||
if(spelltar->IsClient())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user