Tu znajdziecie muzykę gry itd. itp.
Skrypt na czar naruto: Czar dla plladin i knight
Wchodzimy w spells następnie scripts i tworzymy naruto.lua (nie piszemy lua-typ zapisu)
Wklejamy to:
Spoiler:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.5, -200, -1.6, -200)
arr = {
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Następnie wchodzimy w spells.xml szukamy <!-- instant spells --> i wklejamy pod tym to:
Spoiler:
<instant name="naruto" words="naruto" direction="1" lvl="30" maglv="5" mana="10" soul="0" exhaustion="1" prem="0" enabled="1" script="naruto.lua"><vocation id="4"/><vocation id="8"/><vocation id="7"/><vocation id="3"/></instant>
Dodatkowe informacje:
Spoiler:
<instant name="naruto" words="naruto" direction="1" lvl="30" maglv="5" mana="10" soul="0" exhaustion="1" prem="0" enabled="1" script="naruto.lua"><vocation id="4"/><vocation id="8"/><vocation id="7"/><vocation id="3"/></instant>
Jeśli chcemy zmienić od jakiego ... zmieniamy tu
1.lvl
2.mlvl
Jeśli chcemy zmienić profesje zmieniamu tu lub wklejamy to z numerem profesji : <vocation id="3"/>
Tabela z profesjami:
Spoiler:
1-sorcerer
2-druid
3-palladin
4-knight
5-master sorcerer
6-... druid
7-royal palladin
8-elite knight
Liczby odpowiadające profesji u góry
Wszelkie PRAWA DO KOPIOWANIA ZASTżerzone Grozi więzieniem do lat 2
Ostatnio edytowany przez tibijczykpawelex (2008-07-04 15:33:13)
Offline