Hi, everyone!
I'm working on a system where elemental rate will be applied and added constantly for buffs and debuffs to elemental damage and am looking for suggestions on the best way to approach it.
Currently I'm working on these fronts:
*percentages just for illustration purposes*
Characters have innate elements, say an Innate Fire gets you +20% fire dmg, but -20% ice damage, also makes you more susceptible to status related to fire (+30%) and less susceptible to status related to ice (-30%), those status are arbitrary, let's say poison (fire), slow (ice).
Certain spells will trigger a field effect in battle that further raises the damage of that element +10%, checki via a variable so I can add all field effect at once, since a new field effect cancels the previous.
These should stack with Weapons/Armor buffs, class buffs, even event related buffs (via switches).
So these minor buffs would stack and the actor would have a +170% fire damage, -50% damage reduction, 200% poison vunerability but 0%, immune to slow with the proper stacking of buffs from differente sources adding to the character's final rates.
How should I put this all together? I've been trying JS Pre Damage checks on actions, but I'm running into issues since I'm not familiar hot to use the dealtelement, or rate vs plus, etc. I'm having a hard time wrapping my head around it. Should these things be added to the actors, or the skills, items, etc.
Any suggestion would be deeply appreciated!
I'm working on a system where elemental rate will be applied and added constantly for buffs and debuffs to elemental damage and am looking for suggestions on the best way to approach it.
Currently I'm working on these fronts:
*percentages just for illustration purposes*
Characters have innate elements, say an Innate Fire gets you +20% fire dmg, but -20% ice damage, also makes you more susceptible to status related to fire (+30%) and less susceptible to status related to ice (-30%), those status are arbitrary, let's say poison (fire), slow (ice).
Certain spells will trigger a field effect in battle that further raises the damage of that element +10%, checki via a variable so I can add all field effect at once, since a new field effect cancels the previous.
These should stack with Weapons/Armor buffs, class buffs, even event related buffs (via switches).
So these minor buffs would stack and the actor would have a +170% fire damage, -50% damage reduction, 200% poison vunerability but 0%, immune to slow with the proper stacking of buffs from differente sources adding to the character's final rates.
How should I put this all together? I've been trying JS Pre Damage checks on actions, but I'm running into issues since I'm not familiar hot to use the dealtelement, or rate vs plus, etc. I'm having a hard time wrapping my head around it. Should these things be added to the actors, or the skills, items, etc.
Any suggestion would be deeply appreciated!