- Dołączył
- Luty 9, 2010
- Posty
- 41
- Liczba reakcji
- 2
Elo. Mam straszny problem. Nie wiem jak zmieni? wygl?d czaru, a chcia?bym zmieni?. Chodzi mi o to:
Zielony- Tutaj si? to chyba zmienia ale nie wiem jak zmienic na takie, ?eby by?y takie bia?e nutki.. Bo tak si? bawilem na ots, i napisa?em /z 24 i takie bia?e nutki s?, i chcia?bym ?eby m?j czar obszarowy tak wygl?da?. Tylko nie wiem jak to zrobi?. Co musz? wpisa? w czar? Jak to si? nazywa??. POmocy! Dla wybawcy +
Kod:
local combat = createCombatObject()
[COLOR="SeaGreen"]setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 24)[/COLOR]
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 1.2, 0)
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 45)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.7, 0)
local arr = {
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 1, 1, 2, 1, 1, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0}
}
local arr = {
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 1, 1, 2, 1, 1, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0}
}
local arrDiag = {
{1, 1, 1, 0, 0},
{1, 1, 0, 0, 0},
{1, 0, 1, 0, 0},
{0, 0, 0, 1, 0},
{0, 0, 0, 0, 3},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
local area = createCombatArea(arr, arrDiag)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end