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

Two Problems With Training Machines

Lopaskurwa

Active Member
Joined
Oct 6, 2017
Messages
870
Solutions
2
Reaction score
49
So i have two problems one is small other is bigger.
First problem (small)
Untitled.png

Question: How to remove the purple effect because now it put two effects one is that red this one is fine and on top this purple effect, how to remove it?
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ARROW)

function onCastSpell(cid, var)
    doCombat(cid, combat, var)
end
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 9)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 3)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.8, 0, -0.9, 0)


function onCastSpell(cid, var)
return doCombat(cid, combat, var)

end
Other problem is bigger when this training machine attack me, my shielding is not "skilling" always stays where he is. Maybe i should make psychal dmg but still if i put energydame so fishing should grow but nothing happening to.
Untitled.png

it should slowly grow when he attacks. Its same think when monsters attack u, your shielding should grow. Ideas?
 
Back
Top