Hi
I got the actual 2 Damage formula for my skills:
Physical DamageFormula
((a.atk*a.atk)/b.def)*v[1]
Magical DamageFormula:
((a.mat*a.mat)/b.mdf)*v[1]
With:
a.atk = User.Attack
b.def = Target.Defense
a.mat= User.MagicalAttack
b.mdf = Target.MagicalDefense
v[1] = Skill's Modifier
For exemple, on the following skill:
with on note:
But i want to create some skills who're ignoring a percent of Target's Def (or target's mdf), and somes "hybride" skills (with a damage formula based on Atk & Mat) a percent of Target's Def & a percent of Target's Mat
Then
Is this possible to add mutiples Variables in a same Damage formula ?
like:
((a.atk*a.atk)/((b.def)-((v[2]/100)*b.def)))*v[1]
in a more readable way:
with:
v[1] = Skill's Modifier
v[2] = IgnoreDef Percentage
And/Or (for hybride skills):
((((a.atk*a.atk)/(b.def-((v[2]/100)*b.def)))+((a.mat*a.mat)/(b.mdf-((v[3]/100)b.mdf))))/2)*v[1]
in a more readable way:
with:
v[1] = Skill's Modifier
v[2] = IgnoreDef Percentage
v[3] = IgnoreMdf Percentage
I got the actual 2 Damage formula for my skills:
Physical DamageFormula
((a.atk*a.atk)/b.def)*v[1]
Magical DamageFormula:
((a.mat*a.mat)/b.mdf)*v[1]
With:
a.atk = User.Attack
b.def = Target.Defense
a.mat= User.MagicalAttack
b.mdf = Target.MagicalDefense
v[1] = Skill's Modifier
For exemple, on the following skill:
with on note:
Code:
<target>
Change variable 1 = 1
wait: 110
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
action animation
action effect
wait: 10
Change variable 1 = 3
action animation
action effect
</target>
But i want to create some skills who're ignoring a percent of Target's Def (or target's mdf), and somes "hybride" skills (with a damage formula based on Atk & Mat) a percent of Target's Def & a percent of Target's Mat
Then
Is this possible to add mutiples Variables in a same Damage formula ?
like:
((a.atk*a.atk)/((b.def)-((v[2]/100)*b.def)))*v[1]
in a more readable way:
with:
v[1] = Skill's Modifier
v[2] = IgnoreDef Percentage
And/Or (for hybride skills):
((((a.atk*a.atk)/(b.def-((v[2]/100)*b.def)))+((a.mat*a.mat)/(b.mdf-((v[3]/100)b.mdf))))/2)*v[1]
in a more readable way:
with:
v[1] = Skill's Modifier
v[2] = IgnoreDef Percentage
v[3] = IgnoreMdf Percentage