Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = {
- [1000] = SKILL_CLUB,
- [1001] = SKILL_SWORD,
- [1002] = SKILL_AXE,
- [1003] = SKILL_DIST,
- [1004] = SKILL_SHIELD,
- [1005] = SKILL_SWORD,
- [1006] = SKILL_MAGLEVEL,
- [1007] = SKILLVALUE_LEVEL
- }
- function onUse(cid, item, fromPositon, itemEx, toPositon, isHotkey)
- local player = Player(cid)
- if not player then
- return true
- end
- player:addSkillTries(t[2], target:getVocation():getRequiredSkillTries(t[2], target:getSkillLevel(t[2]) + 1) - target:GetSkillTries([t]2))
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement