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

Scripted Wands wont work!!

Idiot

New Member
Joined
Oct 4, 2008
Messages
87
Reaction score
0
Location
Sweden
Yo like i said my wands wont work!!
When im like 150 i hit 500-4500
Then i gave my self levels and tried to kill somebody but couldnt because it still atked same as when i was lvl 150!!

Please Help me with this:D:)
Sorry For my bad english:)

Here is the Script:

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)
 
function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end[/QUOTE]
 
Last edited:
couldnt because it still atked same as when i was lvl 150!!

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)

make new wand for lvl 400 or something and change the attack(0, -500, 0, -4500) to something better
 
its made with constant damage ; o
second and fourth number are fixed numbers
if you wanna make it based on magic power you need to use first and third number(they are multipliers of magicpower, so if first is 1 and you have 40 lvl and 40 mlvl you should hit min 100)
sth like that
 
Okk Thanks alot.
:)

Thanks ;D

Yo like i said my wands wont work!!
When im like 150 i hit 500-4500
Then i gave my self levels and tried to kill somebody but couldnt because it still atked same as when i was lvl 150!!

Please Help me with this:D:)
Sorry For my bad english:)

Here is the Script:

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)
 
function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end
Yo like i said my wands wont work!!
When im like 150 i hit 500-4500
Then i gave my self levels and tried to kill somebody but couldnt because it still atked same as when i was lvl 150!!

Please Help me with this:D:)
Sorry For my bad english:)

Here is the Script:

Lua Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)

function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end

Yo like i said my wands wont work!!
When im like 150 i hit 500-4500
Then i gave my self levels and tried to kill somebody but couldnt because it still atked same as when i was lvl 150!!

Please Help me with this:D:)
Sorry For my bad english:)

Here is the Script:


Lua Code:
</p>
<p>local combat = createCombatObject()</p>
<p>setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)</p>
<p>setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)</p>
<p>setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)</p>
<p>&nbsp;</p>
<p>function onUseWeapon(cid, var)</p>
<p> return doCombat(cid, combat, var)</p>
<p>end</p>
<p>

Yo like i said my wands wont work!!
When im like 150 i hit 500-4500
Then i gave my self levels and tried to kill somebody but couldnt because it still atked same as when i was lvl 150!!

Please Help me with this:D:)
Sorry For my bad english:)

Here is the Script:


PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)
 
function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end
PHP:
Yo like i said my wands wont work!!
When im like 150 i hit 500-4500
Then i gave my self levels and tried to kill somebody but couldnt because it still atked same as when i was lvl 150!!

Please Help me with this:D:)
Sorry For my bad english:)

Here is the Script:

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -500, 0, -4500)
 
function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end
 
Last edited by a moderator:
Sorry for offtopicness but, what the hell is post #5 (after the thanks part) supposed to be? Or mean? Its only the same post of the beginning but quoted several times and pasted itself inside it randomly. Wth?
 
Sorry for offtopicness but, what the hell is post #5 (after the thanks part) supposed to be? Or mean? Its only the same post of the beginning but quoted several times and pasted itself inside it randomly. Wth?
Because there seems to be something wrong with him/her.
Mental disorder, amirite?

Very strange behaviour, maybe first time on forums? :eek:
Anyways,
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 2.5, 0, 4.0, 0)
 
function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end
 
Back
Top