Shadow Dan
Sh4dowDan
After hit with for an example snakebite rod, it dissapears. But wand of inferno is fine.
It sometimes happens to melee weapons like mace etc but i try it again after and it is fine...
Sometimes snakebite rod dissapears after second hit.
I have no idea where is problem, what script can make this work like this.
If you don't know what i mean just watch video:
items.xml
weapons.xml
creature.lua
It sometimes happens to melee weapons like mace etc but i try it again after and it is fine...
Sometimes snakebite rod dissapears after second hit.
I have no idea where is problem, what script can make this work like this.
If you don't know what i mean just watch video:
items.xml
Code:
<item id="2182" article="a" name="snakebite rod">
<attribute key="description" value="It seems to twitch and quiver as if trying to escape your grip." />
<attribute key="weight" value="1900" />
<attribute key="weaponType" value="wand" />
<attribute key="shootType" value="smallearth" />
<attribute key="range" value="3" />
</item>
Code:
<wand id="2182" level="7" mana="2" min="8" max="18" type="earth"> <!-- Snakebit Rod -->
<vocation name="Druid" />
</wand>
Code:
function Creature:onChangeOutfit(outfit)
return true
end
function Creature:onAreaCombat(tile, isAggressive)
return true
end
function Creature:onTargetCombat(target)
return true
end