mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
Merge pull request #85 from vexyl/fix1
Fix for healing unconscious players.
This commit is contained in:
commit
b4068823ed
@ -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