Hello, I need some help over here.
I need a "Poison Blade" skill that makes the next attack or skill cause Poison.
Tried adding a state with an "Attack State: Poison 100%" trait but that only applies to basic attacks. I need the state to apply Poison to basic attacks AND skills.
Is this possible? Any help will be highly appreciated; thanks in advance lovely people.
So if I've got this right, you want this skill to add poison damage onto whatever whatever the next move made by the player is, right?
So for a hypothetical turn, it might look something like this.
Turn 1: Hector uses "Poison Blade". Poison damage will be added to next turn.
Turn 1: Enemy attacks, doing z damage.
Turn 2: Hector uses "Normal Attack". Normal attack does x damage, + y Poison Damage from last turn's "Poison blade".
Have I got that right?
No, it's not like that, sorry if I didn't explain myself well. Let me explain it with the Silence state.
Turn 1: Hector uses "Silence Blade". Next turn, Skills and basic attacks cause Silence state.
Turn 1: Enemy attacks, doing z damage.
Turn 2: Hector uses "Heavy Cut" Skill. Heavy Cut makes x damage, + applies Silence state from last turn's "Silence Blade".
I hope that makes it clearer.
OK, same principle, slightly different implementation. Potentially easier implementation.
It's been a long time since I worked with attack things, and it was never really my forte, but I'll look into it for you tomorrow. Hopefully by then somebody with more knowledge in the area will have gotten back to you with a viable solution, and my findings will be unnecessary and inelegant in comparison.
Any slightest help will be appreciated at this point so many thanks!
Make the weapon adds state to the wearer. Then put this in all of your skill formula boxes that you wish to be affected by Poison Blade (I bet you want to exclude the defensive/healing skill):
if (a.isStateAffected('stateIdA')) b.addState('stateIdB'); 0
stateIdA = PoisonBlade (state that you gain by wearing the blade)
stateIdB = Poison (the actual Poison state that damage the target)
Not tested yet tho, I hope I get the formula right.
It won't increase damage or otherwise modify anything beyond allowing the skill to apply weapon states if it connects with the target. It's basically just a way to say, "this skill is utilizing the weapon, and should apply the weapon's states" vs "this skill does not use the weapon, so the weapon's states don't matter"