Here is the comment format
#--------------------------------------------------------------------------
# * Name
# - syntax some script expression here
# - formula the formula of how the effect is done
#--------------------------------------------------------------------------
Expand to see the code.
you get the Name of the Effect
the syntax - this is what you will enter in the hash, the {}. It tells the parameters required
the formula - this is the formula that is used for the effect
so if I say for the syntax skill_id => power what I mean is the skill_id you will be using and the power. I'll explain more below
[QUOTE=Raven The Dark Angel;194094]I was taking a look at the Desperation skill effect and so to implimate it I get that you have to set up the skill ID for it but what's the second number exactly? It says power does that mean the least power possible? There's this next to it too:
# - formula power * maxhp / hp
Is that the formula for the power or something else? Could you explain that to me a bit more I"m gettin confused. ^^; Also I was wondering if you enter in a negative number would it work lets say for healing spells or would you have to write another code for that?[/QUOTE]
power is just a multiplier value used indicated by the formula say for instance a player had 1 / 10 hp (hp = 1 maxhp = 10) the power set by the effects is by default 50 so with this the damage done is 500
50 * 10 / 1 = 500
the more power the higher the damage
[QUOTE=Raven The Dark Angel;194094]
Gravatiy is confusing me too. Would you write it out twice?
You have that there... but there's like two spots. What would I do and what does the power mean? How is there a max to it if it's supposed to take more of a percent right? :\
[/quote]
I combined two similiar skill effects Gravity deals damage from the current hp while Gravity_Max deals damage from the maxhp (therefore unless maxhp changes it will deal the same amount of damage each time it is used)
power is the percentage (changed to read percentage) oh hp to deal as damage
[QUOTE=Raven The Dark Angel;194094]
Here this means I write out nil right? Don't leave it blank?
[/quote]
If you ever see skill_id => nil that means there are no parameters, and you may put anything for there the key just needs to be included (or if you are using element tagging you don't have to)
[QUOTE=Raven The Dark Angel;194094]
I can't even begin to understand that one. ^^;
[/quote]
read the formula :p
[QUOTE=Raven The Dark Angel;194094]
What does weapon increaser do exactly? It says adds weapon attack to the damage but I don't quite get what you mean. Further explination and example?
[/quote]
Adds the Weapon atk stat to the damage
[QUOTE=Raven The Dark Angel;194094]
That 'or' in there is throwing me off. And how would I write that out if there's a min max. Actually add in those dots?
[/quote]
ok you can choose one or the other I did it this way because maybe you want to do all items 1-80 If I left it at the second then you will be doing alot of typing, the second is a bit more free as you can set it to like [1, 5, 6, 3 , 7, 9] and not have to have them set up so you could use a range or either
skill_id => 60..70
or
skill_id => [10, 3, 8, 15]
would be correct
[QUOTE=Raven The Dark Angel;194094]
Hmm chance? Like would this be a ratio like 2 turns outta every 3 or like a percent and how would I write that in there?
[/quote]
If I say chance I mean a value from 0-100, since it will be done out of 100
so if you enter 30 that means a 30% chance of something to happen
[QUOTE=Raven The Dark Angel;194094]
What's power lost? The explination says that if the state isn't there then it inflicts 0. So what's up with that?
[/quote]
power_lost is the multiplier added when the state is not inflicted
[QUOTE=Raven The Dark Angel;194094]
First of all what does magnitude do exactly? The skill's power is like boosted by the random numbers? So like I don't understand your default example... yeah I can't make heads or tails of this again. ^^;
[/quote]
It replicates the magnitude skill from the pokemon games, A random value out of 20 is chosen and then the skill is multipled by that number.
Also on another note
#--------------------------------------------------------------------------
# * Default (Name) Effect
#--------------------------------------------------------------------------
(Name).default = (some value)
Expand to see the code.
That is the default value which is a small example (the values for this came from the older version) I just didn't define any skills to use that value