Kojiro Ganryu Sasaki
Member
I'm working on a game right now and there's a character who is supposed to have a very specific skill, but i can't figure out how to make it work.
Basically it works like this: The character has a skill which when used on an enemy has a chance of inflicting a specific status ailment (Draw Blood). This status does nothing by itself, however...
The character also has a second ability which can be activated at any time. As long as this ability is active (i'll use a status effect to keep track of it) ANY damage done to him is also done to every enemy with the Draw Blood status on them.
He also has an ability in which he wounds his own body to hurt his enemies. It's basically an attack on himself. Self torture, basically.
I'm not sure exactly how to do this, however. I think i might have to use a script to check which enemies have the status effect in question as there doesn't seems to be any suitable way to make a check for this among the events.
Notice that i'm NOT asking someone to write the script for me. I'm just interested in some general guidelines as to how to solve this problem.
I'm quite a n00b to RGSS scripting but i'm not new to programming (c++, basic) so with some guidelines i'll probably be able to solve this. Any tips are greatly appreciated :3
If you can help me with this i'll draw you a custom Naruto, Bleach or One Piece sprite >_>;
http://i6.photobucket.com/albums/y207/K ... yajump.gif[/IMG]
Basically it works like this: The character has a skill which when used on an enemy has a chance of inflicting a specific status ailment (Draw Blood). This status does nothing by itself, however...
The character also has a second ability which can be activated at any time. As long as this ability is active (i'll use a status effect to keep track of it) ANY damage done to him is also done to every enemy with the Draw Blood status on them.
He also has an ability in which he wounds his own body to hurt his enemies. It's basically an attack on himself. Self torture, basically.
I'm not sure exactly how to do this, however. I think i might have to use a script to check which enemies have the status effect in question as there doesn't seems to be any suitable way to make a check for this among the events.
Notice that i'm NOT asking someone to write the script for me. I'm just interested in some general guidelines as to how to solve this problem.
I'm quite a n00b to RGSS scripting but i'm not new to programming (c++, basic) so with some guidelines i'll probably be able to solve this. Any tips are greatly appreciated :3
If you can help me with this i'll draw you a custom Naruto, Bleach or One Piece sprite >_>;
http://i6.photobucket.com/albums/y207/K ... yajump.gif[/IMG]