Por Tapetao, 27 de abr. de 2008 em Globalevents e Spells
info
Grupo: Campones
Registrado: 26/04/08
Posts: 49
Reputação: 0
nova spell, ateh q boba, mas com criatividade
va em data/spell/scripts
copie qualquer arquivo e dps nomei-o como smile, apague oq ta escrito no arquivo e coloque
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 37)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.0, -150, -1.6, -150)
arr = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
{0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0},
{0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
dps va em spells.xml e acrescente em instant spells
bem... eh isso, agora a SS
Registrado: 17/12/07
Posts: 75
Char no Tibia: Lemol Babol
Lol o0
htia por bosta mas vlw xD
info
Grupo: Campones
Registrado: 26/04/08
Posts: 49
Reputação: 0
nova spell, ateh q boba, mas com criatividade
va em data/spell/scripts
copie qualquer arquivo e dps nomei-o como smile, apague oq ta escrito no arquivo e coloque
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 37)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.0, -150, -1.6, -150)
arr = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
{0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0},
{0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
dps va em spells.xml e acrescente em instant spells
<instant name="Smile" words="Smile" lvl="16" maglv="2" mana="80" soul="0" exhaustion="1" prem="1" enabled="1" script="smile.lua"><vocation id="4"/><vocation id="8"/></instant>bem... eh isso, agora a SS