Nowy czar

Status
Zamknięty.

marcinekt

New User
Zarejestrowany
Dołączył
Lipiec 28, 2009
Posty
3
Liczba reakcji
0
Mam dla was nowy czar ( utani mega hur )

Wchodzimy data/spells/script i tworzymy plik o nazwie hur.lua

I wklejamy tam to:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_Hur)
setConditionParam(condition, CONDITION_PARAM_TICKS, 500000)
setConditionFormula(condition, 0.7, -56, 0.7, -56)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end


I dalej wchodzimy data/spells.spells.xml i wklejamy tam to:

<instant name="Hur" words="utani mega hur" selftarget="1" aggressive="0" lvl="1000" maglv="50" mana="300" soul="0" exhaustion="1" prem="1" enabled="1" script="hur.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/></instant>

Wracie czego piszcie na gg: 13641524

-----POMOG?EM DAJ REPUTA-----
 
Status
Zamknięty.
Back
Do góry