• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

PZ fight swords Problem And Spell Config lua

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
 
Try this pz/skull will be really short

Code:
    pzLocked = 10 * 1000
    huntingDuration = 1 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 10 * 1000
 
Try this pz/skull will be really short

Code:
    pzLocked = 10 * 1000
    huntingDuration = 1 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 10 * 1000
I will try thx, and with the exori con?
 
I will try thx, and with the exori con?
With the exori con
Code:
COMBAT_FORMULA_SKILL, 1.0, -100, 1.0, -200
Im not sure if i understood but i think u want it to attack more dmg you only need to change 1.0 and the other 1.0 to lets say 2.0 2.0 BUT remember that the second one has to be the same as first or higher!

+REP if i helped =)
 
Back
Top