- Gosu OTS http://www.gosuots.pun.pl/index.php - Skrypty http://www.gosuots.pun.pl/viewforum.php?id=7 - Exevo Gran Mas Frigo http://www.gosuots.pun.pl/viewtopic.php?id=36 |
Gosu - 2008-08-27 17:39:19 |
Dla mojego ziomka, bo tego potrzebowal. Kod:local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 42) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.0, -150, -1.6, -150) arr = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end 4. Wchodzimy w /data/spell/spells.xml Kod:<instant name="Eternal Winter" words="exevo gran mas frigo" lvl="60" maglv="40" mana="1200" soul="0" exhaustion="1" prem="1" enabled="1" script="eternal winter.lua"><vocation id="2"/><vocation id="6"/></instant> 6. I mamy czar ;) |