Caduceus
Unknown Member
- Joined
- May 10, 2010
- Messages
- 321
- Solutions
- 2
- Reaction score
- 24
I am looking for a way to scale health pots, based on maxHeath. This is what I have right now, but it is healing the player twice, with each use.
Code:
if not doTargetCombatHealth(0, target, COMBAT_HEALING, player:addHealth(player:getMaxHealth() / 12), player:addHealth(player:getMaxHealth() / 6), CONST_ME_MAGIC_BLUE) then
return false
end