Tu znajdziecie muzykę gry itd. itp.
Skrypt na czar "zul" Wchodzimy w spells następnie w scripts i tworzymy zul.lua i wklejamy to:
Spoiler:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
function onGetFormulaValues(cid, level, maglevel)
min = -(level * 22) / 5
max = -(level * 38.5) / 5
return min, max
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
local arr = {
{1, 1, 1, 1, 1},
{1, 1, 1, 1, 1},
{1, 1, 2, 1, 1},
{1, 1, 1, 1, 1},
{1, 1, 1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Zapisujemy w chodzimy w spells.xml i pod
Spoiler:
<!-- instant spells -->
wklejamy to:
Spoiler:
<instant name="zul" words="zul" direction="1" lvl="34" maglv="21" mana="1" soul="0" exhaustion="1" prem="0" enabled="1" script="zul.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/></instant>
Offline