Elemental damage state?

● ARCHIVED · READ-ONLY
Started by Diretooth 7 posts View original ↗
  1. Okay, so I'm working on database stuff, setting up the basic mechanics of the game, and I was working on states, making one for each type of element, when I realized that I don't know if I can make them do elemental damage.

    My thought process was, creature gets inflicted with a fire state. The creature is wind innate, so fire hurts it more, thus, the state deals more elemental damage to it than any other creature.

    So, I'm wondering: Can I apply an element to the damage, or do I need a script? If the latter, is there a standalone that is readily available?

    EDIT: As per my later post further toward the bottom, I'm most likely going to need a script.

    Basically, the script would allow for an elemental damage functionality toward states that damage an enemy or player.

    The state would deal, let's say, fire damage to a creature. Depending on that creature's innate element, they would either be dealt lower or higher damage, based on their elemental resistance.
  2. Are you referring specifically to slip damage states?

    That can't be done without scripting.  The easiest way, but also one of the clumsiest, would be to modify the slip damage method to multiple the damage with certain enemy ID - state ID combinations.

    Not sure whether there are any pre-existing scripts out there for this kind of thing.  I haven't seen any.  But it wouldn't be hard for a good scripter to do.
  3. I'm still learning the terminology, but I'm guessing that's like the default poison status.

    Anyway, can a moderator move this to script requests, as I'm going to edit the original post to include what I need the script to do.
  4. Thank you, I'll try them out, see if they do what I need them to.
  5. If it's just slip damages with elements, I can guarantee that those two can do it. Now it's just a matter of if they work with other possible scripts that you have in your game. Those scripts of mine are pretty old and isn't really on an optimum state
  6. EDIT: Accidental DP