Prosi? bym o jakie? czary pod tibie 8.50 oraz dokladnie opisac mi jak je dodac poniewa? znalaz?em na tym forum czar taki:
a w spells.xml napisa?em tak:
i mi niedzia?a ; /
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 57)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1500, -1.6, -1500)
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, 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, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 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, 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
a w spells.xml napisa?em tak:
<instant name="siema heniu" words="siema heniu" selftarget="1" aggressive="1" lvl="100" maglv="2" mana="1600" soul="0" exhaustion="0" prem="0" enabled="1" script="attack/siemaheniu.lua">
<vocation name="Knight"/>
<vocation name="Elite Knight"/>
</instant>
i mi niedzia?a ; /
Notka moderatorska: |
Poprawiam tytu? |