Fix life burn

Need to investigate more, but reuse
This commit is contained in:
Michael Cook (mackal) 2017-06-13 14:00:09 -04:00
parent 0a0d4fbb70
commit b5a81fbd07

View File

@ -277,12 +277,8 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
caster->SetMana(0); caster->SetMana(0);
} else if (spell_id == 2755 && caster) //Lifeburn } else if (spell_id == 2755 && caster) //Lifeburn
{ {
dmg = caster->GetHP()*-15/10; dmg = -1 * caster->GetHP(); // just your current HP or should it be Max HP?
caster->SetHP(1); caster->SetHP(dmg / 4); // 2003 patch notes say ~ 1/4 HP. Should this be 1/4 your current HP or do 3/4 max HP dmg? Can it kill you?
if(caster->IsClient()){
caster->CastToClient()->SetFeigned(true);
caster->SendAppearancePacket(AT_Anim, 115);
}
} }
//do any AAs apply to these spells? //do any AAs apply to these spells?