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

Lua Sumons and Weapon

cranter

New Member
Joined
Oct 22, 2011
Messages
2
Reaction score
0
Hi, i need an item to skill two skills fe. sword and club in the same time.
I also need script to automat-teleport my summons when i go upstairs or downstairs.

I have weapon script but it is not working:

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.0, 0, 0.4, 0)


function onUseWeapon(cid, var)
doPlayerAddSkillTry(cid, 1, 1.1)
doPlayerAddSkillTry(cid, 4, 1.1)
return doCombat(cid, combat, var)

end
 
Last edited:
Back
Top