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

Sd Exaustion

Elexonic

Well-Known Member
Joined
Jun 18, 2008
Messages
1,920
Reaction score
59
And other why this rune have 3 seg exaustion?
<item id="2263" article="a" name="Vip Sd">
<attribute key="weight" value="120" />
<attribute key="type" value="rune" />
</item>
<rune name="Sudden Death" id="2263" allowfaruse="1" charges="0" lvl="15" maglv="15" exhaustion="2000" needtarget="1" blocktype="solid" event="script" value="attack/vip sd.lua"/>

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)

function onGetFormulaValues(cid, level, maglevel)
local min = level / 2 + maglevel * 7.5 + 43
local max = level / 2 + maglevel * 7.9 + 48
return -min, -max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)

return doCombat(cid, combat, var)
end
And script is same of sd.
 
Last edited:
look, try this script , really im not sure if it works , but really i no have time at the moment to test scripts :(
Lua:
local bad =  {lookType = 0)
tmp.lookType = 130
local tmp = getCreatureOutfit(pid)

if getCreatureOutfit(cid, bad) then
doCreatureChangeOutfit(pid, tmp)
return true
end
 
(luaGetCreatureOutfit) Creature not found
This is my error in my script.

Sirion: This script don`t work..

- - - Updated - - -

bump
 
Back
Top