How to make a skill stats dependent?

● ARCHIVED · READ-ONLY
Started by KeyToTruth12 4 posts View original ↗
  1. As in, how to make a skill, but it's damage is based on the user stats.

    For instance, my Marksman has x amount of AGI. The skills he usedwill be based on his AGI. So even though my Marksman has 1000 ATK but 0 AGI, it won't deal any damage. It's similar to Disgaea skills.

    Any answers will be greatly appreciated.  :)
  2. instead of the equation as it is like this:

    a.atk * 4 - b.def * 2

    do

    a.agi * 4

    (I don't know if this works, never tested it, but in theory it should work)
  3. KeyToTruth12 said:
    As in, how to make a skill, but it's damage is based on the user stats.
    All skills are always based on user stats - by default, on the user's attack stat and the target's defense stat.
    a is the placeholder for the skill user, b is the placeholder for the skill target - and any stat from either one can be referenced in the damage formula, like a.agi, a.mdf, b.hp or whatever.


    Hover the mouse cursor above the damage formula field to get the tooltip showing the other options.
  4. Well, it works.

    Will report later if something goes wrong.