pugamoline
uint32_t patch_mem(char *
- Joined
- Nov 15, 2011
- Messages
- 189
- Reaction score
- 19
Hi Otlanders, need help in this script!
Is possible this function in advanced, refill full mana and hp? on skill advanced (lvl,magic,sword,club,shielding etc)
example: Advanced in Sword fighting add mana and hp full
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
doCreatureAddMana(cid, getCreatureMaxMana(cid)
this script only recovery hp and mana in lvl and magic advanced, but not in the rest of the "skilll"
anyone can help me?
Is possible this function in advanced, refill full mana and hp? on skill advanced (lvl,magic,sword,club,shielding etc)
example: Advanced in Sword fighting add mana and hp full
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
doCreatureAddMana(cid, getCreatureMaxMana(cid)
Lua:
if skill == SKILL__LEVEL then
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid))
this script only recovery hp and mana in lvl and magic advanced, but not in the rest of the "skilll"
anyone can help me?