zerghel
Tsuni
- Joined
- Jul 1, 2008
- Messages
- 299
- Reaction score
- 9
ok
so the script looks good
this script adds a soul point for each frag the player makes
here is the script
the thing is that im getting 1 soul for each monster i kill too
i'm using TFS Mystic spirit 0.2.7
so the script looks good
this script adds a soul point for each frag the player makes
here is the script
Code:
local config = {
onlyLastHit = false
}
function onKill(cid, target, lastHit)
if isPlayer(target) and (lastHit or (not lastHit and not config.onlyLastHit)) then
doPlayerAddSoul(cid, 1)
end
return true
end
i'm using TFS Mystic spirit 0.2.7