OTS Fans

Witamy Na OTS Fans, Przeczytaj Regulamin lub Zarejestruj się.

  • Nie jesteś zalogowany.
  • Polecamy: Gry

#1 2011-04-17 06:19:02

Xelemeleque

I User

Zarejestrowany: 2011-04-14
Posty: 17
Punktów :   

Hydra Egg

Autorem Jest Serafin
Oryginalny Temat


Bylo Hydra Egg na 7.92 to ja dam na 7.6
W data/actions/actions.xml dodaj:

Kod:

<action itemid="4850" script="hydra.lua" />

W data/scripts/hydra.lua dodaj:


Kod:

-- Create Hydra by Czepek --
function onUse(cid, item, frompos, item2, topos)

pos = getPlayerPosition(cid)

if getTilePzInfo(topos) == 0 then
if getTilePzInfo(pos) == 0 then

if item.itemid == 4850 then
doSummonCreature("Hydra", pos)
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Amgad",1)
doRemoveItem(item.uid,item.type)

else

doPlayerSendCancel(cid,"You cannot use that.")
end
else
doPlayerSendCancel(cid,"You Cannot use this Egg while you are in a Protect Zone.")
end
else
doPlayerSendCancel(cid,"You cannot use this Egg on a protect zone.")
end

return 1

end

Z tego co widzialem kody nie różnią sie mocno ale jednak : o Moze komus sie przyda na Arene
PvM.

Offline

 

Stopka forum

RSS
Powered by PunBB 1.2.23
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi

[ Generated in 0.009 seconds, 7 queries executed ]


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.agh1rokis.pun.pl www.narutek.pun.pl www.zrom.pun.pl www.h2osok.pun.pl www.ricoe.pun.pl