Empurius
Living Life
- Joined
- Feb 29, 2016
- Messages
- 32
- Reaction score
- 3
Hello, i have a problem.. the players in my server never lost pz and withe skull.
thats how i have that part config lua
pzLocked = 1 * 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = "no"
whiteSkullTime = 2 * 60 * 1000
and the spell is exori con i cant config to attak more danger
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ETHEREALSPEAR)
function onGetFormulaValues(cid, level, skill, attack, factor)
return -(((skill + 30) / 3) + (level / 30)), -((skill + 30) + (level / 3))
COMBAT_FORMULA_SKILL, 1.0, -100, 1.0, -200
end
setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
thats how i have that part config lua
pzLocked = 1 * 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = "no"
whiteSkullTime = 2 * 60 * 1000
and the spell is exori con i cant config to attak more danger
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ETHEREALSPEAR)
function onGetFormulaValues(cid, level, skill, attack, factor)
return -(((skill + 30) / 3) + (level / 30)), -((skill + 30) + (level / 3))
COMBAT_FORMULA_SKILL, 1.0, -100, 1.0, -200
end
setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end