Thorn
Spriting since 2013
Hey, well as the tittle says, when i use the wand or rod that are for vip players, it lags like crazy, even tho i'm testing local now...so plz guys if anyone could help me would be awesome! 
i'm using otb 2.52 i believe it's the same as otx 0.4, tibia version 9.83
here i will post 1 weapon, i think posting the two is unnecesary
i'm using otb 2.52 i believe it's the same as otx 0.4, tibia version 9.83
here i will post 1 weapon, i think posting the two is unnecesary
<wand id="21253" level="8" mana="2" min="400" max="600" type="holy" event="script" value="Prestiged druid rod.lua"> <!-- donation wand -->
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,50)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 31)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -350, -1.0, -500)
local area = createCombatArea({
{0, 0, 0},
{0, 3, 0},
{0, 0, 0}
})
setCombatArea(combat, area)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,50)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 31)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -350, -1.0, -500)
local area = createCombatArea({
{0, 0, 0},
{0, 3, 0},
{0, 0, 0}
})
setCombatArea(combat, area)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
<item id="21253" article="a" name="Prestiged Druid Rod">
<attribute key="description" value="La rod mas fuerte de este universo." />
<attribute key="weight" value="10" />
<attribute key="armor" value="25" />
<attribute key="weaponType" value="wand" />
<attribute key="magicPoints" value="5"/>
<attribute key="maxmanapoints" value="100"/>
<attribute key="manaGain" value="15"/>
<attribute key="absorbPercentPhysical" value="5"/>
<attribute key="range" value="7" />
<attribute key="shootType" value="death" />
<attribute key="attackspeed" value="1000"/>
</item>
<attribute key="description" value="La rod mas fuerte de este universo." />
<attribute key="weight" value="10" />
<attribute key="armor" value="25" />
<attribute key="weaponType" value="wand" />
<attribute key="magicPoints" value="5"/>
<attribute key="maxmanapoints" value="100"/>
<attribute key="manaGain" value="15"/>
<attribute key="absorbPercentPhysical" value="5"/>
<attribute key="range" value="7" />
<attribute key="shootType" value="death" />
<attribute key="attackspeed" value="1000"/>
</item>
Last edited: