mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
Make heal nanos heal for the correct amount
This commit is contained in:
parent
f8129b91cb
commit
bdf283ae4f
@ -671,7 +671,7 @@ bool doHeal(CNSocket *sock, sSkillResult_Heal_HP *respdata, int i, int32_t targe
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int healedAmount = PC_MAXHEALTH(plr->level) * amount / 1500;
|
int healedAmount = PC_MAXHEALTH(plr->level) * amount / 1000;
|
||||||
|
|
||||||
// do not heal dead players
|
// do not heal dead players
|
||||||
if (plr->HP <= 0)
|
if (plr->HP <= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user