Save-Point
SkillRobber 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: SkillRobber XP (/thread-8763.html)



SkillRobber XP - kyonides - 06-19-2023

SkillRobber XP

by Kyonides

Introduction

No, it's not a Blue Mage skill script! Tongue sticking out
Your heroes don't need to ever Skull die to learn the skill for one reason only...
They will Thief steal it themselves! Shocked

For XP
Code:
# If you succeed, the Target Animation will be displayed on top of your hero!

# Add the same number of Skill & State ID's to the SKILL_IDS & STATE_IDS
# Constants because they are totally correlated.
# The higher the Skill ID, the more powerful it should be.

# Create the same number of Skills and States in the DB.
# The stealable skills may add 1+ of those States to their Plus State Set.
# They are another indicator of the Skill's Power Level required to steal them.

module SkillRobber
  SKILL_IDS = [82, 83]
  FAIL_SKILL_ID = 101
  WAIT_FRAMES = 20
  MESSAGE_LEARNED = "%s already learned %s!"
  MESSAGE_SUCCESS = "%s successfully stole %s!"
  MESSAGE_FAILURE = "%s failed to steal any skill!"
  MESSAGE_NO_SKILL = "%s found no skill to steal from %s"


Terms & Conditions

Free for use in any Gamer game!
Remind a certain Dog Wulfo that Lina Inverse is paying him a visit one of these days!
Remember that stealing is bad! Thief Wizard
That's it! Tongue sticking out


RE: SkillRobber - kyonides - 06-20-2023

The ACE Port Has Arrived!

Happy with a sweat Well, it only took me another day to come up with a port for RMVX ACE.
As you might have guessed, every edition of the engine has a quite different version of RGSS so a scripter always has to check out what has remained intact and what has (terribly) changed in every single installment of the Maker.

Developing the script for ACE has been the more convoluted of them Confused while XP and VX were almost pretty much straight forward. The above mentioned changes were minimal indeed. Grinning

VX ACE port mainly depends on notetags to make it work under any circumstance.
The only Constants it uses are required to display custom messages that were not considered by the engine developers back in those days.

And keep in mind that Thief stealing is bad!