mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-20 13:48:22 +00:00
Merge pull request #85 from vexyl/fix1
Fix for healing unconscious players.
This commit is contained in:
+2
-2
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user