Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: kidria on September 11, 2006, 09:19:34 PM
-
I don't want to give too much away, but in my game, the final boss randomly extracts the main character's skill and uses it against them. However, I tried to do this and it failed horribly. >< I wanted the boss to remove the skills either after the main character used them, and/or after a certain amount of time(at random). Anyone have any idea how to do this? ; ;
-
Well, the easiest way to do that would be to have it predetermined, so that the boss always draws the same skill after 3 turns of combat. The easiest way to do the code itself would be to create a skill called "Extract", set its type to Switch, and create a switch for that purpose. In the M.Groups tab, you would have to create a Battle Event with the Trigger set to the Extract switch ON, as well as the number of turns that have passed. Then, there would be dialogue or whatever, and you would remove the hero's skill and turn a specific switch ON (for example, ceate a switch called "Fire Blast" if that was the skill being removed from the hero). Finally, in the Monsters tab, give the boss that skill, but set the Precondition to "Switch Fire Blast ON".