Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local combat1 = createCombatObject()
- setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat1, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat2 = createCombatObject()
- setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat2, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat3 = createCombatObject()
- setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat3, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat4 = createCombatObject()
- setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat4, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat5 = createCombatObject()
- setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat5, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat6 = createCombatObject()
- setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat6, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat6, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat7 = createCombatObject()
- setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat7, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat7, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local combat8 = createCombatObject()
- setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
- setCombatParam(combat8, COMBAT_PARAM_DISTANCEEFFECT, 23)
- setCombatParam(combat8, COMBAT_PARAM_EFFECT, 175)
- setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.8, -150, -2.8, -200)
- local arr1 = {
- {0, 0, 0},
- {1, 2, 0},
- {0, 0, 0}
- }
- local arr2 = {
- {1, 0, 0},
- {0, 2, 0},
- {0, 0, 0}
- }
- local arr3 = {
- {0, 1, 0},
- {0, 2, 0},
- {0, 0, 0}
- }
- local arr4 = {
- {0, 0, 1},
- {0, 2, 0},
- {0, 0, 0}
- }
- local arr5 = {
- {0, 0, 0},
- {0, 2, 1},
- {0, 0, 0}
- }
- local arr6 = {
- {0, 0, 0},
- {0, 2, 0},
- {0, 0, 1}
- }
- local arr7 = {
- {0, 0, 0},
- {0, 2, 0},
- {0, 1, 0}
- }
- local arr8 = {
- {0, 0, 0},
- {0, 2, 0},
- {1, 0, 0}
- }
- setCombatArea(combat1, createCombatArea(arr1))
- setCombatArea(combat2, createCombatArea(arr2))
- setCombatArea(combat3, createCombatArea(arr3))
- setCombatArea(combat4, createCombatArea(arr4))
- setCombatArea(combat5, createCombatArea(arr5))
- setCombatArea(combat6, createCombatArea(arr6))
- setCombatArea(combat7, createCombatArea(arr7))
- setCombatArea(combat8, createCombatArea(arr8))
- function onCastSpell(cid, var)
- doCombat(cid, combat1, var, 3)
- addEvent(spellRuner, 100, cid, combat2, var, 3)
- addEvent(spellRuner, 150, cid, combat3, var, 3)
- addEvent(spellRuner, 200, cid, combat4, var, 3)
- addEvent(spellRuner, 250, cid, combat5, var, 3)
- addEvent(spellRuner, 300, cid, combat6, var, 3)
- addEvent(spellRuner, 350, cid, combat7, var, 3)
- addEvent(spellRuner, 450, cid, combat8, var, 3, true)
- return LUA_NO_ERROR
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement