Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Bom gente eu vir aqui, perdi as vc que tenta-se min ajuda nesse spells.

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 165)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr1 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{1, 2, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area1 = createCombatArea(arr1)
 
setCombatArea(combat1, area1)
 
local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 166)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr10 = {
{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},
{0, 1, 1, 1, 0, 2},
{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 area10 = createCombatArea(arr10)
 
setCombatArea(combat10, area10)
 
local combat100 = createCombatObject()
setCombatParam(combat100, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat100, COMBAT_PARAM_EFFECT, 167)
setCombatFormula(combat100, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr100 = {
{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, 0, 0, 0, 0, 2},
{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 area100 = createCombatArea(arr100)
 
setCombatArea(combat100, area100)
 
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 167)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr2 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{2, 1, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area2 = createCombatArea(arr2)
 
setCombatArea(combat2, area2)
 
 
 
local combat20 = createCombatObject()
setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat20, COMBAT_PARAM_EFFECT, 166)
setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr20 = {
{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},
{0, 2, 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},
}
 
local area20 = createCombatArea(arr20)
 
setCombatArea(combat20, area20)
 
local combat200 = createCombatObject()
setCombatParam(combat200, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat200, COMBAT_PARAM_EFFECT, 165)
setCombatFormula(combat200, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr200 = {
{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},
{2, 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},
}
 
local area200 = createCombatArea(arr200)
 
setCombatArea(combat200, area200)
 
 
 
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 163)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
 
local arr3 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 2, 0},
{0, 0, 0, 1, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area3 = createCombatArea(arr3)
 
setCombatArea(combat3, area3)
 
local combat30 = createCombatObject()
setCombatParam(combat30, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat30, COMBAT_PARAM_EFFECT, 164)
setCombatFormula(combat30, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr30 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 2, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 1, 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},
}
 
local area30 = createCombatArea(arr30)
 
setCombatArea(combat30, area30)
 
 
local combat300 = createCombatObject()
setCombatParam(combat300, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat300, COMBAT_PARAM_EFFECT, 162)
setCombatFormula(combat300, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr300 = {
{0, 0, 2, 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},
{0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
}
 
local area300 = createCombatArea(arr300)
 
setCombatArea(combat300, area300)
 
 
 
 
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 162)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr4 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 1, 0},
{0, 0, 0, 2, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area4 = createCombatArea(arr4)
 
setCombatArea(combat4, area4)
 
 
 
local combat40 = createCombatObject()
setCombatParam(combat40, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat40, COMBAT_PARAM_EFFECT, 163)
setCombatFormula(combat40, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr40 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 2, 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 area40 = createCombatArea(arr40)
 
setCombatArea(combat40, area40)
 
 
local combat400 = createCombatObject()
setCombatParam(combat400, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat400, COMBAT_PARAM_EFFECT, 164)
setCombatFormula(combat400, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr400 = {
{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, 2, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
}
 
local area400 = createCombatArea(arr400)
 
setCombatArea(combat400, area400)
 
 
 
 
 
 
 
 
 
 
function kaha(cid)
if getPlayerLookDir(cid) == 1 then   
                
doCombat(cid, combat1, numberToVariant(cid))
doCombat(cid, combat10, numberToVariant(cid))
doCombat(cid, combat100, numberToVariant(cid))
doCreatureSay(cid, 'Haaaa!', TALKTYPE_ORANGE_1) 
 
elseif getPlayerLookDir(cid) == 2 then   
               
doCombat(cid, combat4, numberToVariant(cid))
doCombat(cid, combat40, numberToVariant(cid))
doCombat(cid, combat400, numberToVariant(cid))
doCreatureSay(cid, 'Haaaa!', TALKTYPE_ORANGE_1) 
 
elseif getPlayerLookDir(cid) == 3 then   
                 
doCombat(cid, combat2, numberToVariant(cid))
doCombat(cid, combat20, numberToVariant(cid))
doCombat(cid, combat200, numberToVariant(cid))
doCreatureSay(cid, 'Haaaa!', TALKTYPE_ORANGE_1) 
 
elseif getPlayerLookDir(cid) == 0 then   
                 
doCombat(cid, combat3, numberToVariant(cid))
doCombat(cid, combat30, numberToVariant(cid))
doCombat(cid, combat300, numberToVariant(cid))
doCreatureSay(cid, 'Haaaa!', TALKTYPE_ORANGE_1) 
      end
end
 
 
 
function kama2(uid)       
        doCreatureSay(uid, 'Me...!', TALKTYPE_ORANGE_1)                 
            addEvent(kaha,500,uid)
 
      end
 
function kaha2(uid)       
        doCreatureSay(uid, 'ka...!', TALKTYPE_ORANGE_1)                 
            addEvent(kama2,1000,uid) 
 
      end
 
function kama(uid)       
        doCreatureSay(uid, 'Me...!', TALKTYPE_ORANGE_1)                 
            addEvent(kaha2,500,uid)
 
      end
function kaka(uid)       
        doCreatureSay(uid, 'Ka...!', TALKTYPE_ORANGE_1)                 
            addEvent(kama,1000,uid)
 
      end
 
 
 
function onCastSpell(cid, var)
      addEvent(kaka,100,cid)
return true
end

 

Bom eu estava tenta cria um spell igual o dos WodboKamekameha, mais o meu é pra NTO, o poder da raposa(kyuubi ou Kurama). Mais só que ficou com erro, n ficou na linha certa. vou mostra algumas imagens.

 

2.bmp

 

3.bmp

 

4.bmp

 

5.bmp

 

Bom eu n seii mostra as imagen grande como as maiorias da pessoas colocam mas eu acho que da pra vcs ver, msm baixando. Bom o spells que eu estou querendo fazer esse ai mais tem mas uma coisinha que eu queria tbm,que  aumenta-se a magias pra ficar maior pra ficar mas grande e tb que tirasse os nome as mensagem que fica subindo (ka! me! ka! me! ha!) se n vou muito emcomodo.

 

Vou explicar como funcionar os Effect pra quem ja jogo Wodbo saber como é, mas que nunca.O Efeito que é pra coloka na magias n é só 4 Effect, sao 6. 3 dos lados e 3 pra cima e pra baixo. bom espero que deu pra entende como é meu pedido

Editado por CreatServer (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Testa essa

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 12)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr1 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{1, 2, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area1 = createCombatArea(arr1)
 
setCombatArea(combat1, area1)
 
local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 16)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr10 = {
{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},
{0, 1, 1, 1, 0, 2},
{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 area10 = createCombatArea(arr10)
 
setCombatArea(combat10, area10)
 
local combat100 = createCombatObject()
setCombatParam(combat100, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat100, COMBAT_PARAM_EFFECT, 15)
setCombatFormula(combat100, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr100 = {
{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, 0, 0, 0, 0, 2},
{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 area100 = createCombatArea(arr100)
 
setCombatArea(combat100, area100)
 
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 15)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr2 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{2, 1, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area2 = createCombatArea(arr2)
 
setCombatArea(combat2, area2)
 
 
 
local combat20 = createCombatObject()
setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat20, COMBAT_PARAM_EFFECT, 16)
setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr20 = {
{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},
{0, 2, 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},
}
 
local area20 = createCombatArea(arr20)
 
setCombatArea(combat20, area20)
 
local combat200 = createCombatObject()
setCombatParam(combat200, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat200, COMBAT_PARAM_EFFECT, 12)
setCombatFormula(combat200, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr200 = {
{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},
{2, 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},
}
 
local area200 = createCombatArea(arr200)
 
setCombatArea(combat200, area200)
 
 
 
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 25)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
 
local arr3 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 2, 0},
{0, 0, 0, 1, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area3 = createCombatArea(arr3)
 
setCombatArea(combat3, area3)
 
local combat30 = createCombatObject()
setCombatParam(combat30, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat30, COMBAT_PARAM_EFFECT, 11)
setCombatFormula(combat30, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr30 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 2, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 1, 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},
}
 
local area30 = createCombatArea(arr30)
 
setCombatArea(combat30, area30)
 
 
local combat300 = createCombatObject()
setCombatParam(combat300, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat300, COMBAT_PARAM_EFFECT, 14)
setCombatFormula(combat300, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr300 = {
{0, 0, 2, 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},
{0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
}
 
local area300 = createCombatArea(arr300)
 
setCombatArea(combat300, area300)
 
 
 
 
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 14)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr4 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 1, 0},
{0, 0, 0, 2, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
 
local area4 = createCombatArea(arr4)
 
setCombatArea(combat4, area4)
 
 
 
local combat40 = createCombatObject()
setCombatParam(combat40, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat40, COMBAT_PARAM_EFFECT, 11)
setCombatFormula(combat40, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr40 = {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 1, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 2, 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 area40 = createCombatArea(arr40)
 
setCombatArea(combat40, area40)
 
 
local combat400 = createCombatObject()
setCombatParam(combat400, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat400, COMBAT_PARAM_EFFECT, 25)
setCombatFormula(combat400, COMBAT_FORMULA_LEVELMAGIC, -36.0, 0, -37.0, 0)
 
local arr400 = {
{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, 2, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0},
}
 
local area400 = createCombatArea(arr400)
 
setCombatArea(combat400, area400)
 
 
 
 
 
 
 
 
 
 
function ha(cid)
if getPlayerLookDir(cid) == 1 then
 
doCombat(cid, combat1, numberToVariant(cid))
doCombat(cid, combat10, numberToVariant(cid))
doCombat(cid, combat100, numberToVariant(cid))
doCreatureSay(cid, '', TALKTYPE_ORANGE_1)
 
elseif getPlayerLookDir(cid) == 2 then
 
doCombat(cid, combat4, numberToVariant(cid))
doCombat(cid, combat40, numberToVariant(cid))
doCombat(cid, combat400, numberToVariant(cid))
doCreatureSay(cid, '', TALKTYPE_ORANGE_1)
 
elseif getPlayerLookDir(cid) == 3 then
 
doCombat(cid, combat2, numberToVariant(cid))
doCombat(cid, combat20, numberToVariant(cid))
doCombat(cid, combat200, numberToVariant(cid))
doCreatureSay(cid, '', TALKTYPE_ORANGE_1)
 
elseif getPlayerLookDir(cid) == 0 then
 
doCombat(cid, combat3, numberToVariant(cid))
doCombat(cid, combat30, numberToVariant(cid))
doCombat(cid, combat300, numberToVariant(cid))
doCreatureSay(cid, '', TALKTYPE_ORANGE_1)
      end
end
 
 
 
function ma2(uid)
        doCreatureSay(uid, '', TALKTYPE_ORANGE_1)
            addEvent(ha,1,uid)
 
      end
 
function ha2(uid)
        doCreatureSay(uid, '', TALKTYPE_ORANGE_1)
            addEvent(ma2,2,uid)
 
      end
 
function ma(uid)
        doCreatureSay(uid, '', TALKTYPE_ORANGE_1)
            addEvent(ha2,3,uid)
 
      end
function ka(uid)
        doCreatureSay(uid, '', TALKTYPE_ORANGE_1)
            addEvent(ma,4,uid)
 
      end
 
 
 
function onCastSpell(cid, var)
      addEvent(ka,0,cid)
return true
end

Editado por MateusDomingues (veja o histórico de edições)

Café é bom :3  :accept:  :accept:  :accept:

 

esfregaoinfinito.gif

Link para o post
Compartilhar em outros sites

O mano isso que tuh mandou ficou no msm jeito e fica o tempinho pra aparece a magias(effect)

Link para o post
Compartilhar em outros sites
  • 4 weeks later...

cara ninguem é obrigado ajudar aqui não, aguarde alguém que sabe arrumar o seu problema amigo.  :facepalm:

TFS 0.4 DEV   | 

 

Ajudei você ? retribua a ajuda com uma Reputação positiva
" Se a sua vida for a melhor coisa que já te aconteceu, acredite, você tem mais sorte do que pode imaginar. "

 

 

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo