l3xik0n
nobie , kool boy ;S
- Joined
- Feb 7, 2009
- Messages
- 134
- Reaction score
- 0
Here is my script to super sd
in spells.xml
In scripts:
But the probelm is the rune end .... How i change so the rune dont end? ;o
in spells.xml
PHP:
<rune name="Super SD" id="2264" allowfaruse="1" charges="100" lvl="45" maglv="18" exhaustion="1300" needtarget="1" blocktype="solid" script="custom/Super SD.lua"/>
In scripts:
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.1, -30, -2.6, 0)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
But the probelm is the rune end .... How i change so the rune dont end? ;o