Well I'm going to be coding several common events for different skills (I don't really know what they all will be yet, heh.)
For an example: Create a spell that inflicts a certain state on the caster. Whenever this caster attacks, the script would read something similiar to the passive effects thing, and having this passive effect would result in the call to the common event.
Doing this though, would require that each specific state have its own common event. I'll give an example:
-Caster casts a spell that inflicts a state that Ill call Healing Proc for now. Casting it on himself, each time he attacks (Would be nice if it would work for regular attacks OR physical skills, but I'm not asking for the cure for cancer here), it calls a common event. The common event would then have a chance heal each party member for a certain amount, based on the variables I set for the skill.
Also, I'm trying to figure out a way for skills to do a two in one effect. Deal damage to an enemy AND heal the caster/party for a small amount or something.
Also, if you don't mind me asking, one more thing: Is there a way to just write a small line of scripting to affect the target of a common event? Currently, the system is terrible at letting you select a target. For example, I created a skill that when used, deals no damage itself (We'll call it Electric Shock, for now) but calls a common event. The common event loops 20 times, playing a 2 frame animation and dealing a small amount of damage each time, giving the illusion of being shocked (In 2 seconds [ignoring lag] 20 damage numbers would fly up on the target). The sytem works great.. but I can't set the damage to be inflicted on the last target! The deal damage function requires you to select the target index, and doesn't have a "last target" option.
You think there is anything that can be done about this?
Thanks, once again, for your time.