Ir para conteúdo

[Arquivado][Ajuda]Dano Do Systema [M1]


peewee

Posts Recomendados

 

-----------------NORMAL   Quick Attack-------------------------------
local combat1 = createCombatObject()  
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 111)  
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1)
----------------  Wirlwind ------------------------------- 
local combat2 = createCombatObject()  
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 42)  
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 2.5, 4)  


arr2 = {  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 3, 0, 3, 0, 3, 0, 0, 0},  
{0, 0, 0, 3, 0, 3, 0, 3, 0, 0, 0},  
{0, 0, 0, 0, 3, 3, 3, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 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 area2 = createCombatArea(arr2)  
setCombatArea(combat2, area2) 
----------------------------normal Scratch --------------------------  
local combat3 = createCombatObject()  
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 142)  
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -100, -1000, -100, -2000, 500, 500, 100.400, 200.1) 
--------------------------- Dragon Claw----------------------------- 
local combat4 = createCombatObject()  
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 141)  
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1, 0, -1, -10, 5, 5, 0.85, 1.95, -20, -40)    
-------------------------- HeadButt -----------------------------  
local combat5 = createCombatObject()  
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 16)  
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1, 0, -1, -10, 5, 5, 0.85, 1.95, -20, -40)  
-------------------------- String Shot -----------------------------  
local combat6 = createCombatObject()  
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 137)  
setCombatParam(combat6, COMBAT_PARAM_DISTANCEEFFECT, 23)  
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1)  
------------------------- Horn Attack ------------------------------
local combat7 = createCombatObject()  
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 59)  
setCombatParam(combat7, COMBAT_PARAM_DISTANCEEFFECT, 23)  
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1)  
--------------------------- Bite  ------------------------------  
local combat8 = createCombatObject()  
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat8, COMBAT_PARAM_EFFECT, 138)  
setCombatParam(combat8, COMBAT_PARAM_DISTANCEEFFECT, 138)  
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) 
-------------------------- Mega Kick --------------------------  
local combat9 = createCombatObject()  
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat9, COMBAT_PARAM_EFFECT, 112)  
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) 
-------------------------- Razor Leaf -----------------------  
local combat10 = createCombatObject()  
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 79)  
setCombatParam(combat10, COMBAT_PARAM_DISTANCEEFFECT, 5)  
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -2.5, 0, -3.0, 0)  
------------------------- Bubbles----------------------------   
local combat11 = createCombatObject()  
setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat11, COMBAT_PARAM_EFFECT, 68)  
setCombatParam(combat11, COMBAT_PARAM_DISTANCEEFFECT, 2)  
setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -2.5, 0, -3.0, 0)  
------------------------ String Shot ------------------------  
local combat12 = createCombatObject()  
setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat12, COMBAT_PARAM_EFFECT, 137)  
setCombatParam(combat12, COMBAT_PARAM_DISTANCEEFFECT, 23)  
setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) 
------------------------ Horn Attack -----------------------  
local combat13 = createCombatObject()  
setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat13, COMBAT_PARAM_EFFECT, 9)  
setCombatParam(combat13, COMBAT_PARAM_DISTANCEEFFECT, 25)  
setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1)  
------------------------ Super Sonic -----------------------  
local combat14 = createCombatObject()  
setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatParam(combat14, COMBAT_PARAM_EFFECT, 22)  
setCombatParam(combat14, COMBAT_PARAM_DISTANCEEFFECT, 24)  
setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -2.5, 0, -3.0, 0)   
----------------------- Sand Attack -----------------------  
local combat15 = createCombatObject()  
setCombatParam(combat15, COMBAT_PARAM_EFFECT, 122)  
setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)  
setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -1, 0, -1, -10, 5, 5, 0.85, 1.95, -20, -40) 


arr15 = {  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},  
{0, 0, 0, 0, 0, 3, 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, 0, 0, 0, 0, 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 area15 = createCombatArea(arr15)  
setCombatArea(combat15, area15)

 

 

 

Acho que o dano para ser arumado está nessas linhas.Alguem poderia me ajudar edita-las.

 

Gostaria de saber como coloco a quantidade de 100 de minimo de dano e 300 de dano, como seria?

Editado por PeeWee
Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...

vo desenterrar isso aki, para editar o dano da magia é naquela linha que diz:

 

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1)

 

são aqueles numeros mas não me pergunte como editar n tenho ideia mas tb to querendo saber.

Link para o comentário
Compartilhar em outros sites

  • 7 years later...
Visitante
Este tópico está impedido de receber novos posts.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...