Hello!
I have some questions regarding making the description of a skill in javascript with a whole lotta if, then, else statements.
First thing I am curious about is how I reference a certain setting of a skill?
Let's say I have a skill that deals fire damage, how do I get that information as a question?
if (SkillID[X] = ElementID[3]) {
Element = "Fire";
}
if (SkillID[X] = ElementID[4]) {
Element = "Ice";
}
How do I get the skill and the element of that skill?
This question extends into the further question of how to get the below information into the if-statement:
Skill ID
MP cost
TP cost
Damage formula
Damage type
Scope
Added state
Chance to apply state
Skill variance
I hope this is the correct forum for such a question.
Best regards,
I have some questions regarding making the description of a skill in javascript with a whole lotta if, then, else statements.
First thing I am curious about is how I reference a certain setting of a skill?
Let's say I have a skill that deals fire damage, how do I get that information as a question?
if (SkillID[X] = ElementID[3]) {
Element = "Fire";
}
if (SkillID[X] = ElementID[4]) {
Element = "Ice";
}
How do I get the skill and the element of that skill?
This question extends into the further question of how to get the below information into the if-statement:
Skill ID
MP cost
TP cost
Damage formula
Damage type
Scope
Added state
Chance to apply state
Skill variance
I hope this is the correct forum for such a question.
Best regards,