Nie tylko o Tibii i OTS...
Witam
w data/actions/scripts dodajemy ferumbras hat.lua
Spoiler:
-- Magiczna czapka Ferumbarassa zrobiona przez Smoczek Leon --
-- Magic Ferumbrass hat by Smoczek Leon --
function onUse(cid, item, frompos, item2, topos)
pos = getPlayerPosition(cid)
summon = math.random(1, 3)
if summon == 1 then
doPlayerSay(cid,"WTF? Kroliczek? o.O",1)
doSummonCreature("Rabbit", pos)
doSendMagicEffect(topos,14)
elseif summon == 2 then
doPlayerSay(cid,"LOL! Papuga? W tej czapce?",1)
doSummonCreature("Parrot", pos)
doSendMagicEffect(topos,13)
elseif summon == 3 then
doPlayerSay(cid,"O fak! To cos tam siedzialo? ;/",1)
doSummonCreature("Skunk", pos)
doSendMagicEffect(topos,12)
end
return 1
end
Potem w actions.xml dodajemy linijke
Spoiler:
<action itemid="5903" script="ferumbras hat.lua" />
Srypt nie moj !!!
Offline
ehh Spoko że to dałęs ale Prawei w każdym ots jest to oprucz ariesa evo
autor =Smoczek Leon
Ale sie przyda moze komus 7/10 ze nie twoj x)
Offline