Ir para conteúdo

Featured Replies

Postado
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -250.0, 0, -300.0, 0)
local function onDash(cid, level, skill, attack, factor)
	if not isCreature(cid) then
		return true
	end
local level = getPlayerLevel(cid) 
local jutsuDmg = 15
skill = getPlayerSkill(cid, SKILL_SWORD)
local skill_total = math.ceil((jutsuSkill_factor(cid, 0) + skill + level)/2)
local dmg = - math.max(1, math.ceil(((skill_total*0.5) * jutsuDmg)*0.25))
 local poslook = getCreatureLookPosition(cid)
 poslook.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
     if isWalkable(poslook, false, false, true) then
     if not isCreature(getThingfromPos(poslook).uid) then
          doMoveCreature(cid, getPlayerLookDirection(cid))
     return TRUE
      else
          doMoveCreature(cid, getPlayerLookDirection(cid))
          doAreaCombatHealth(cid, COMBAT_PHYSICALDAMAGE, getCreaturePosition(cid), area, dmg, dmg, efeito)
     return TRUE
      end
       end
       end

function iniciarEntry(cid)
	if not isCreature(cid) then
		return true
	end
         addEvent(actionMove, 0, cid, 519, 10)
         addEvent(actionMove, 100, cid, 519, 10)
         addEvent(actionMove, 200, cid, 519, 10)
         addEvent(actionMove, 300, cid, 519, 10)
end

function finalizarEntry(cid)
	if not isCreature(cid) then
		return true
	end
         addEvent(actionMove, 400, cid, 519, 10)
         addEvent(actionMove, 500, cid, 519, 10)
         addEvent(doRemoveCondition, 600, cid, CONDITION_OUTFIT)
end

local function dash(cid)
	if not isCreature(cid) then
		return true
	end
 local distance = 5

      for i = 0, distance do
      addEvent(onDash,0*i,cid)
       end
end

function onCastSpell(cid, var)
local p = getCreaturePosition(cid)
local x = {
[0] = {x=p.x+0, y=p.y-1, z=p.z},
[1] = {x=p.x+6, y=p.y+0, z=p.z},
[2] = {x=p.x+0, y=p.y+6, z=p.z},
[3] = {x=p.x-0, y=p.y+0, z=p.z}
}
local y = {
[0] = 259,
[1] = 258,
[2] = 257,
[3] = 260
}
pos = x[getCreatureLookDirection(cid)]
eff = y[getCreatureLookDirection(cid)]
doSendMagicEffect(pos, eff)
	if not isCreature(cid) then
		return true
	end
		 noMove(cid, 1)	
         iniciarEntry(cid)
		 setPlayerStorageValue(cid, STORAGE_DIRECTION, 1)
         addEvent(dash, 0, cid)
		 addEvent(function()
		 if not isCreature(cid) then return true end
		 setPlayerStorageValue(cid, STORAGE_DIRECTION, 0)
		 end, 1000)
         addEvent(finalizarEntry, 1000, cid)
         addEvent(doCreatureSay, 100, cid, "Hanauta Sanchou", TALKTYPE_MONSTER)
		 addEvent(doCreatureSay, 600, cid, " Yahazu Giri!!", TALKTYPE_MONSTER)
return false
end 

Boa tarde Alguem poderia poderia colocar segunda script para hitar ? usando spell de baixo

 

 

5a510dabc5375_20228663_336082076822153_8453189641140183581_n-Cpia-Cpia.jpg.ae93894455bf828fc6901b29d7395cd9.jpg

https://www.facebook.com/groups/659018184245665/

5a510e4f9a582_20228663_336082076822153_8453189641140183581_n-Cpia-Cpia.jpg.fa86c37be79982f1cc8ff619015ddd1b.jpg

https://www.facebook.com/profile.php?id=133706320308745

 

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo