Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. function onStepIn(cid, item, pos)
  2.     if isPlayer(cid) and not isKnight(cid) then
  3.         doCreatureAddHealth(cid, -getCreatureMaxHealth(cid))
  4.         doCreatureAddMana(cid, -getCreatureMaxMana(cid))
  5.     end
  6. return 1
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement