Save-Point
Skill Roulette XP - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Skill Roulette XP (/thread-8759.html)



Skill Roulette XP - kyonides - 06-16-2023

Skill Roulette XP

by Kyonides

Introduction

A few months ago, a forumer made a request for a script that could let the hero use a random skill. Even if there gotta be a way to do it via events or some other settings, I preferred to write a script that could handle that swiftly.

NOTE: Both Actors & Troopers can use a Roulette Skill in battle.

Configure the RANDOM_SKILLS Constant by adding as many Random Skills as needed!

For the Original Release

Code:
RANDOM_SKILLS[81] = [7, 10, 13, 16, 19, 22]

For the 2026 Release

This version relies upon the Roulette Level feature to pick the list of available skills.

Code:
RANDOM_SKILLS[81] = skills = {}
skills[1] = [7, 10, 13, 16, 19, 22]
skills[2] = [23, 24, 25]
skills[3] = [26, 27, 28]

And my script will pick a random skill for you in battle! Grinning

Uploaded to the rpg-maker-scripts repository!

Terms & Conditions

MIT License.
That's it! Tongue sticking out


RE: Skill Roulette XP - kyonides - 05-31-2026

Script Update!

After almost 3 years I'm glad to announce a revamped version of your favorite skill script.

Version 1.1.0 pretty much does the same stuff the original script did, but now the Roulette Level feature will make a difference here.
The script will add skills to the list of available skills ONLY IF the battler's Roulette Level is high enough.

Script Calls

Change an Actor's Roulette Level AT ANY TIME:
Code:
actor = $game_party.actors[Index]
actor.roulette_level = Number

Change an Enemy's Roulette Level IN BATTLE:
Code:
enemy = $game_troop.enemies[Index]
enemy.roulette_level = Number