• 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!

[WEAPON]COMBAT_FORMULA_SKILL exactly as common hit

Rith

New Member
Joined
Jun 14, 2007
Messages
176
Reaction score
0
Tried this weapon script but hits are lower than normal, seems there are more shield blocks too.
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.0, 0, 1.0, 0)

function onUseWeapon(cid, var)
doCombat(cid, combat, var)
return true
end
 
just change this line

setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.0. o, 1.0, 0)

make it higher until it is strong enough :D

Add rep++ for me please :D
 
Back
Top