Autor |
Shakur
30 Level

Dołączył: 25 Lut 2009
Posty: 14
Przeczytał: 0 tematów
Ostrzeżeń: 1/10 Skąd: KROSNO Płeć: 
Czw 19:02, 26 Lut 2009
|
|
Wiadomość |
|
łap ;p
Wejdz W folder spells/spells i utwórz plik emasrox.LUA a w nim ma być
Kod: | local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,48)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.0, -150, -1.6, -150)
arr = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 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, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 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, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end |
Pozniej wejdz w Spells.xml i wklej linijke:
Kod: | <instant name="Emasrox" words="Exevo Mas Rox" lvl="50" maglv="15" mana="100" soul="0" exhaustion="1" prem="0" enabled="1" script="emasrox.lua"><vocation id="3"/><vocation id="7"/></instant> |
tylko ze to na 8.1 pisane bylo
Post został pochwalony 0 razy
|
|