beliar34
Member
- Joined
- Feb 28, 2012
- Messages
- 307
- Solutions
- 7
- Reaction score
- 11
Hay i have new spell and i have problem i want 2 animatons in spell
first animation is a area spell damage
second animation is a sqm of player stand ;p
sorry for english i have very bad english ; d
animation player standing :62
Animation area dmg : 18
Thanks
for polish users : Chodzi o to zeby animacja nr 1 byla tam gdzie stoi rzucajacy a animacja nr 2 byla wokol niego ; d jak to zrobic
first animation is a area spell damage
second animation is a sqm of player stand ;p
sorry for english i have very bad english ; d
PHP:
--Created with OSM--
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 18)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -16.9, 0, -17.3, 0)
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, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 3, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 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},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
animation player standing :62
Animation area dmg : 18
Thanks
for polish users : Chodzi o to zeby animacja nr 1 byla tam gdzie stoi rzucajacy a animacja nr 2 byla wokol niego ; d jak to zrobic