SC
bug

Grav Vita

Por ScythePhantom, 15 de mai. de 2015 em Scripts

resolvido
script
3
895
ScythePhantomS
15 de maio de 2015 às 09:45

Olá, gostaria de pedir que vocês arrumassem essa spell para mim, acontecesse que ela está podendo ser executada mesmo com um player em sua frente ou se até se já foi utilizada no mesmo local. Essa spell é basicamente a wild growth rune em spell, ela cria uma wild (aquela "parede" de mata) na frente no player.

 

SCRIPT:

 

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

 

 

TAG:

<instant name="Wild Growth" words="exevo grav vita" lvl="27" prem="0" direction="1" blockwalls="1" exhaustion="2000" needlearn="0" script="pbot/exevo grav vita.lua">
<vocation id="2"/>
<vocation id="6"/>
<vocation id="10"/>
</instant>
Obrigado, REP+
AdilsonHackerA
15 de maio de 2015 às 10:54
Melhor resposta
Troca sua tag por esta:


<instant name="Wild Growth" words="exevo grav vita" lvl="27" mana="220" prem="1" direction="1" blocktype="all" exhaustion="1150" needlearn="0" event="script" aggressive="1" value="pbot/exevo grav vita.lua">
<vocation id="2"/>
<vocation id="6"/>
<vocation id="10"/>
</instant>

FurabioF
15 de maio de 2015 às 17:41

Tópico movido para a seção de dúvidas e pedidos resolvidos.