GM Danio - 2008-07-04 20:34:05

Wylatujace papugi z drzewa.

w data/actions/scripts tworzymy parrottree.lua a w nim:

Spoiler:

function onUse(cid, item, frompos, item2, topos)

pos = getPlayerPosition(cid)

if item.itemid == 6094 then
doSendMagicEffect(topos,1)
doTransformItem(item.uid, 4007)
doSummonCreature("parrot", pos)
else
return 0
end
return 1
end

w data/actions/actions.xml

Spoiler:

<action itemid="6094" script="parrottree.lua"/>

(ID drzewka z papugą:6094)

Pozdrawiam

www.bakugan-nowa-vestroja.pun.pl www.dzikiepumy.pun.pl www.klanpt.pun.pl www.talisman.pun.pl www.dawnoswiat.pun.pl