
Nie tylko o Tibii i OTS...
Wątek nie jest mój
W actions.xml dodaj linijkę:
<action itemid="2260" script="manarune.lua" />
A w actions/scripts dodaj plik manarune.lua w którym wpisz:
--Manarune pod Tibia 8.1 by Dawidek xD function onUse(cid, item, frompos, item2, topos) local mlvl = getPlayerMagLevel(cid) local lvl = getPlayerLevel(cid) local addmana = math.random(8, lvl) * 30 + 185 - 8*30 if mlvl >= 4 then if lvl >= 8 then doPlayerSay(cid,'Aaaahh... Przyda sie te '.. addmana ..' many.',16) doPlayerAddMana(cid, addmana) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end else doSendMagicEffect(frompos,2) doPlayerSendCancel(cid,'Musisz miec co najmniej 4 Magic level, zeby tego uzyc.') end else doSendMagicEffect(frompos,3) doPlayerSendCancel(cid,'Musisz miec co najmniej 8 lvl by, moc uzywac tej manaruny.') end return 1 end
Ta manaruna jest od 8lvl i 4mlvl i powinna dodawać całą manę...
Offline
Dimek
oj oj oj oj
Mana run jest pełno na forum....


Offline