Save-Point
A Skill that throws enemies? - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: A Skill that throws enemies? (/thread-9692.html)



A Skill that throws enemies? - Bennerdeben - 09-28-2024

Hello good people,
I have been trying to figure out a way to make a skill that "Throws" enemies for a while now, but it looks like I need a hand.

The Skill should work as follows:
1.- You select One Enemy
2.- The selected enemy gets damaged and Stunned from being "thrown"
3.- If there are more enemies, one random additional enemy also gets stunned and damaged (imagine the thrown enemy crashing down into him)

Especially for the last part I have been tinkering with Scene_Battle and Game_Troop without good result. I had found some scripts that target a random number of enemies, or make you target several enemies at the same time. The thing is, I want the player to be able to select One Enemy; the game then needs to randomly select another and do the skill effects.
As far as I know part of the problem is the Scope. The script does not let you have a Scope that targets One Enemy + One Random.
This is where I get stuck.

If anyone knows ways to make this work, please let me know.