mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Fix life burn
Need to investigate more, but reuse
This commit is contained in:
parent
0a0d4fbb70
commit
b5a81fbd07
@ -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?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user