Forum poświęcone Tibii i Ots...
Skrypt Nie Jest Mój.
Najpierw Wchodzimy W Plik Z Ots Później data/actions/scripts/ I Robimy Plik O Nazwie manarune.lua
I Wklejamy To:
Spoiler:
function onUse(cid, item, frompos, item2, topos) mag = getPlayerMagLevel(cid) if mag >= 0 then doPlayerSay(cid,"Ahhh.. Mana Rune",16) doPlayerAddMana(cid1400,) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end else doSendMagicEffect(frompos,2) doPlayerSendCancel(cid,"You are yet to have the Magic Level to use this rune...") end return 1 end
cid1400=ile ma dawac many
teraz wchodzimy w plik data/actions/actions.xml
I wklejamy to:
Spoiler:
<action itemid="2274" script="manarune.lua" />
Mam nadzieję że się przyda!
Powodzenia!!!
Offline