• 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 small spell problem

Hrsha

Member
Joined
May 30, 2010
Messages
450
Reaction score
21
Location
Egypt
hi guys

i wana know what is meanning of these 2 lines

Code:
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)

and if there more of these kind (Block whatever) i wana know it

my other problem can i take off this line from weapon script ?
and make it works too ?

Code:
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

cuz when i delete it - it does not even hit dmg
 
Well, it explains itself if you actually read it.
It means what type of damage the spells deals, in this case its psychical damage.
 
Well, you asked one question:
my other problem can i take off this line from weapon script ?
and make it works too ?
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
and then you answered that question straight away:
cuz when i delete it - it does not even hit dmg

now, the other question:
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
maybe try using BLOCKSWORD or BLOCKMACE lol. Im just totally guessing here haha. Try to experiment with those :P
 
i just wana know what is usage of these 2 lines :S

setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)
 
They mean that the combat's damage will be lowered, depends on targets armor & defense.
 
Back
Top