Hello! I am working on implementing a custom state. This state is called mark and it increases the damage of a particular damage type by 50%. Mark can be stacked on a target up to 4 times (Mark I - Mark IV). I've gotten everything to work when targeting enemies, but I'm struggling to get this to work when enemies target party members.
Here is what I'm working with. Ann is actor 0006. Ideally, when she is targeted with a skill that contains this common event, the event will check to see what level of mark she is currently on and increase it by one. I think my script must be off because nothing happens when this is tested. If I remove the script, anytime a skill targets any party member, all party members will have their mark stack increased. It needs to be targeted, but I'm not sure how to go about it beyond what I've attempted below.
I'm hoping someone better at coding than me can provide a quick fix for this! I'm also curious if there is a way to print to battle log (so I can inform the player that Mark has been increased) but that's probably a whole different can of worms.
Here is what I'm working with. Ann is actor 0006. Ideally, when she is targeted with a skill that contains this common event, the event will check to see what level of mark she is currently on and increase it by one. I think my script must be off because nothing happens when this is tested. If I remove the script, anytime a skill targets any party member, all party members will have their mark stack increased. It needs to be targeted, but I'm not sure how to go about it beyond what I've attempted below.
I'm hoping someone better at coding than me can provide a quick fix for this! I'm also curious if there is a way to print to battle log (so I can inform the player that Mark has been increased) but that's probably a whole different can of worms.