Postado Dezembro 11, 2015 9 anos Preview Script data/spells/spells.xml <rune group="attack" spellid="586" name="Cake Wall Rune" id="2309" allowfaruse="1" charges="3" lvl="32" maglv="1" exhaustion="2000" groupcooldown="2000" blocktype="all" script="support/cake wall rune.lua"/> spells/support/cake wall rune.lua local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_CAKE) setCombatParam(combat1, COMBAT_PARAM_CREATEITEM, 13072) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_CAKE) setCombatParam(combat2, COMBAT_PARAM_CREATEITEM, 13073) function onCastSpell(cid, var) waw = math.random(2) if waw == 1 then return doCombat(cid, combat1, var) end if waw == 2 then return doCombat(cid, combat2, var) end end items/items.xml, procure por: <item fromid="13072" toid="13076" article="a" name="giant cake" /> Substitua por: <item id="13072" article="a" name="giant cake wall"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="13074" /> <attribute key="duration" value="10" /> </item> <item id="13073" article="a" name="giant cake wall"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="13075" /> <attribute key="duration" value="10" /> </item> <item id="13074" article="a" name="giant cake wall"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="13076" /> <attribute key="duration" value="5" /> </item> <item id="13075" article="a" name="giant cake wall"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="10" /> </item> <item id="13076" article="a" name="giant cake wall"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="5" /> </item> <item fromid="13077" toid="13076" article="a" name="giant cake" /> Créditos: clouf Editado Dezembro 11, 2015 9 anos por Azhaurn (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.