wafuboe
Active Member
- Joined
- Dec 24, 2010
- Messages
- 884
- Solutions
- 2
- Reaction score
- 26
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerAddSoul(cid, 10)
doRemoveItem(item.uid)
doSendMagicEffect(getThingPosition(cid), CONST_ME_GREEN)
doCreatureSay(cid, "Ahhhh.", TALKTYPE_MONSTER)
return true
end
mm there is a problem with the soul it doesnt goes up i want something like a potion not like you use it you have+1 soul point
i want to refill all the soul that the player can have example the player max soul is 300 and he has 3, 10 ,0 or 50 refill it to his max soul..
my script doesnt works :I
if someone can do a good one i apreciatte it ;D
doPlayerAddSoul(cid, 10)
doRemoveItem(item.uid)
doSendMagicEffect(getThingPosition(cid), CONST_ME_GREEN)
doCreatureSay(cid, "Ahhhh.", TALKTYPE_MONSTER)
return true
end
mm there is a problem with the soul it doesnt goes up i want something like a potion not like you use it you have+1 soul point
i want to refill all the soul that the player can have example the player max soul is 300 and he has 3, 10 ,0 or 50 refill it to his max soul..
my script doesnt works :I
if someone can do a good one i apreciatte it ;D