ive got a evolutions-xml rl map server 8.0...
The problem on my server is that paladins are worthless pvp cuz they dont get any good hits. enchanted spears and royal spears hit at the most like 200 on training monk, and top 400 with power bolt..
any1 know how to make the spears better, ive tryed raising the atk on them but it didnt work so.. how?!?
this is how my weapons.xml file looks like:
<!-- Distance weapons -->
<distance id="2389" range="6" enabled="1" exhaustion="0" ammo="move" script="spear.lua"></distance>
<distance id="2545" range="6" enabled="1" exhaustion="0" hitchance="80" ammo="removecount" script="poison arrow.lua"></distance>
<distance id="2546" range="6" enabled="1" exhaustion="0" hitchance="80" ammo="removecount" script="explosive arrow.lua"></distance>
<distance id="7367" range="6" enabled="1" exhaustion="0" hitchance="95" ammo="none" script="enchanted spear.lua"></distance>
<distance id="3965" range="6" enabled="1" exhaustion="0" ammo="move" script="hunting spear.lua"></distance>
<distance id="7366" range="6" enabled="1" exhaustion="0" hitchance="90" ammo="move" script="viperstar.lua"></distance>
<distance id="7368" range="6" enabled="1" exhaustion="0" hitchance="90" ammo="move" script="redstar.lua"></distance>
<distance id="7378" range="6" enabled="1" exhaustion="0" hitchance="95" ammo="none" script="royal spear.lua"></distance>
</weapons>
and here´s the enchanted spear.lua file:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENCHANTEDSPEAR)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 1.5, 0)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
here is the vocations.xml file :
<vocation id="3" name="Paladin" description="a paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="1" gainmanaticks="4" gainmanaamount="30" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="1.4" attackspeed="1200" prevoc="3" basespeed="220">
<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
<formula damage="1.7" defense="1.1" armor="1.1"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
<vocation id="7" name="Royal Paladin" description="a royal paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="35" gainsoulticks="15" gainsoulamount="1" maxsoul="200" manamultiplier="1.4" attackspeed="1200" prevoc="3" basespeed="220">
<diepercent experience="7" magic="6" skill="6" equipment="7" container="100"/>
<formula damage="1.8" defense="1.1" armor="1.1"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
/thxbye
The problem on my server is that paladins are worthless pvp cuz they dont get any good hits. enchanted spears and royal spears hit at the most like 200 on training monk, and top 400 with power bolt..
any1 know how to make the spears better, ive tryed raising the atk on them but it didnt work so.. how?!?
this is how my weapons.xml file looks like:
<!-- Distance weapons -->
<distance id="2389" range="6" enabled="1" exhaustion="0" ammo="move" script="spear.lua"></distance>
<distance id="2545" range="6" enabled="1" exhaustion="0" hitchance="80" ammo="removecount" script="poison arrow.lua"></distance>
<distance id="2546" range="6" enabled="1" exhaustion="0" hitchance="80" ammo="removecount" script="explosive arrow.lua"></distance>
<distance id="7367" range="6" enabled="1" exhaustion="0" hitchance="95" ammo="none" script="enchanted spear.lua"></distance>
<distance id="3965" range="6" enabled="1" exhaustion="0" ammo="move" script="hunting spear.lua"></distance>
<distance id="7366" range="6" enabled="1" exhaustion="0" hitchance="90" ammo="move" script="viperstar.lua"></distance>
<distance id="7368" range="6" enabled="1" exhaustion="0" hitchance="90" ammo="move" script="redstar.lua"></distance>
<distance id="7378" range="6" enabled="1" exhaustion="0" hitchance="95" ammo="none" script="royal spear.lua"></distance>
</weapons>
and here´s the enchanted spear.lua file:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENCHANTEDSPEAR)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 1.5, 0)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
here is the vocations.xml file :
<vocation id="3" name="Paladin" description="a paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="1" gainmanaticks="4" gainmanaamount="30" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="1.4" attackspeed="1200" prevoc="3" basespeed="220">
<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
<formula damage="1.7" defense="1.1" armor="1.1"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
<vocation id="7" name="Royal Paladin" description="a royal paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="35" gainsoulticks="15" gainsoulamount="1" maxsoul="200" manamultiplier="1.4" attackspeed="1200" prevoc="3" basespeed="220">
<diepercent experience="7" magic="6" skill="6" equipment="7" container="100"/>
<formula damage="1.8" defense="1.1" armor="1.1"/>
<skill id="0" multiplier="1.2"/>
<skill id="1" multiplier="1.2"/>
<skill id="2" multiplier="1.2"/>
<skill id="3" multiplier="1.2"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
/thxbye