I have two questions summarized by the title:
Question 1: In the database, there are "Skill Types" that determine which menu the Skill appears under during battle, the ones you can use to give access to them to different classes and stuff (not the "Types" that factor into damage calculation). There is a plugin I found that allows you to assign multiple Skill Types to one Skill so it will show up under multiple menus.
>Is there any way to make one Skill have different effects based on which action you use to execute it?
This isn't high priority for me, as my workaround has been to just give the characters multiple Skills with the same name I've given separate effects manually (i.e., when learning one Skill you actually secretly learned four). But I was hoping this would simplify things in the Database, as well as allow me to give each Skill a cooldown so that if you use it one way, it's off-limits all other ways until the CD is finished. That said, Question 2 should provide some extra context for this.
Question 2: In my game, I'm planning to have four Skill Types we'll call A, B, C, and D. The player learns Skills, one example of which we'll call Fire +1/-1, and every Skill is available for use as all four Types. Using a Skill like Fire as Type A deals damage to both the user and target, and using it with B heals both the user and target, both based on the numbers shown (negative for damage, positive for healing). These were easily done with the YEP targeting plugin that gave me a Target: All option, and this was ideal because it applies the Type multipliers normally to each (like Fire, in this case) regardless of whether its damage or healing.
>Skill Type C is planned to damage the user and heal the target; D is planned to heal the user and damage the target.
How can I do this while still applying Type multipliers to each? These skills should work this way regardless of whether the "user" is an actor or an enemy in battle, as ideally these Skills will appear in enemy movepools as well. I only mention that because I've seen a lot of tech that uses checks like target.isactor etc. I'm also aware you can use commands like setHP after a normal damage calc, but these wouldn't apply the Type multipliers and would require copious if checks that look for the Traits on each target. Is my only option here a lot of complicated nesting code?
Now that I think about it, in the event I could configure my Skills like I ask in Question 1, I would probably still need to know how to do what I ask in Question 2, because Enemy units don't have access to Skill Types, only individual Skills. So unless I'm wrong about that, please feel free to focus more on Q2.
Thanks in advance. And sorry if I rambled too much. I try to give only the most necessary information, but... aha
Question 1: In the database, there are "Skill Types" that determine which menu the Skill appears under during battle, the ones you can use to give access to them to different classes and stuff (not the "Types" that factor into damage calculation). There is a plugin I found that allows you to assign multiple Skill Types to one Skill so it will show up under multiple menus.
>Is there any way to make one Skill have different effects based on which action you use to execute it?
This isn't high priority for me, as my workaround has been to just give the characters multiple Skills with the same name I've given separate effects manually (i.e., when learning one Skill you actually secretly learned four). But I was hoping this would simplify things in the Database, as well as allow me to give each Skill a cooldown so that if you use it one way, it's off-limits all other ways until the CD is finished. That said, Question 2 should provide some extra context for this.
Question 2: In my game, I'm planning to have four Skill Types we'll call A, B, C, and D. The player learns Skills, one example of which we'll call Fire +1/-1, and every Skill is available for use as all four Types. Using a Skill like Fire as Type A deals damage to both the user and target, and using it with B heals both the user and target, both based on the numbers shown (negative for damage, positive for healing). These were easily done with the YEP targeting plugin that gave me a Target: All option, and this was ideal because it applies the Type multipliers normally to each (like Fire, in this case) regardless of whether its damage or healing.
>Skill Type C is planned to damage the user and heal the target; D is planned to heal the user and damage the target.
How can I do this while still applying Type multipliers to each? These skills should work this way regardless of whether the "user" is an actor or an enemy in battle, as ideally these Skills will appear in enemy movepools as well. I only mention that because I've seen a lot of tech that uses checks like target.isactor etc. I'm also aware you can use commands like setHP after a normal damage calc, but these wouldn't apply the Type multipliers and would require copious if checks that look for the Traits on each target. Is my only option here a lot of complicated nesting code?
Now that I think about it, in the event I could configure my Skills like I ask in Question 1, I would probably still need to know how to do what I ask in Question 2, because Enemy units don't have access to Skill Types, only individual Skills. So unless I'm wrong about that, please feel free to focus more on Q2.
Thanks in advance. And sorry if I rambled too much. I try to give only the most necessary information, but... aha