mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 06:12:29 +00:00
Fix for healing unconscious players.
This commit is contained in:
parent
3c09613d01
commit
a694cf3079
@ -3646,8 +3646,8 @@ void Mob::CommonDamage(Mob* attacker, int32 &damage, const uint16 spell_id, cons
|
|||||||
|
|
||||||
|
|
||||||
void Mob::HealDamage(uint32 amount, Mob* caster) {
|
void Mob::HealDamage(uint32 amount, Mob* caster) {
|
||||||
uint32 maxhp = GetMaxHP();
|
int32 maxhp = GetMaxHP();
|
||||||
uint32 curhp = GetHP();
|
int32 curhp = GetHP();
|
||||||
uint32 acthealed = 0;
|
uint32 acthealed = 0;
|
||||||
|
|
||||||
if(caster && amount > 0)
|
if(caster && amount > 0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user