Hello
Im using tfs 0.3.6 and I got a problem with my Wildgrowth rune, I have post both magic wall and wildgrowth rune since magic wall rune is working
perfectly.
Problem: Wildgrowth rune is working outside pz zone, but in quests it's not working because its pvp protection ( you can spamm your spells etc but dosnt heart people) anyways, the wildgrowth rune is never removed in pvp protection quests, people can spam it over hole quests and creatures
are not passing the growth, but players can pass it, well here is a picture since its hard to explain
magic wall.xml
Wild growth.xml
magic wall.lua
wild growth.lua
Im using tfs 0.3.6 and I got a problem with my Wildgrowth rune, I have post both magic wall and wildgrowth rune since magic wall rune is working
perfectly.
Problem: Wildgrowth rune is working outside pz zone, but in quests it's not working because its pvp protection ( you can spamm your spells etc but dosnt heart people) anyways, the wildgrowth rune is never removed in pvp protection quests, people can spam it over hole quests and creatures
are not passing the growth, but players can pass it, well here is a picture since its hard to explain
magic wall.xml
Code:
<item id="1498" article="a" name="magic wall">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="20"/>
</item>
Wild growth.xml
Code:
<item id="1499" article="a" name="rush wood">
<attribute key="type" value="magicfield"/>
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="45"/>
</item>
magic wall.lua
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
wild growth.lua
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end