Hello.
I am making my first ever game and I have trouble creating an ability for my "hunter" class.
It is an ability called "bear trap" that targets the ally of your choice, and puts him/her under a "bear trap" state.
If the ally with the "bear trap" state is then attacked by an enemy, that enemy takes damage from of the "bear trap", which can cause bleeding.
Basically :
- put actor A under "bear trap" state
- if actor A is attacked by enemy X with physical attack :
- actor A gets damage normally
- enemy X gets damage from the bear trap (maybe 10% of its HP) and 50% chance bleeding
- "bear trap" state over
Is something like this possible ?
I hope I am posting in the right thread.
Thanks in advance.
I am making my first ever game and I have trouble creating an ability for my "hunter" class.
It is an ability called "bear trap" that targets the ally of your choice, and puts him/her under a "bear trap" state.
If the ally with the "bear trap" state is then attacked by an enemy, that enemy takes damage from of the "bear trap", which can cause bleeding.
Basically :
- put actor A under "bear trap" state
- if actor A is attacked by enemy X with physical attack :
- actor A gets damage normally
- enemy X gets damage from the bear trap (maybe 10% of its HP) and 50% chance bleeding
- "bear trap" state over
Is something like this possible ?
I hope I am posting in the right thread.
Thanks in advance.