How to get a Random Pool of Attacks/Skills

● ARCHIVED · READ-ONLY
Started by Fuchsilein 4 posts View original ↗
  1. Hi!

    I'm pretty new to RPG Maker, got it when it was cheap and now have a lot of time to kill So I'm going to make a game...

    But with my concept I'm already hitting a wall...

    I kinda want to make a sort of card based combat system, while this does not have to be with cards already I'm stuck with having the Game pull me some Random "Skills" from a set pool which the player can chose from.

    So as n example, my character has the Skills "Fire, Thunder, Water,Earth" once per turn the game should only display 3 of those.

    Is there an easy way that i dont know for this or do i have to make a GIANT Common Event with conditionals for every situations with switches for that?

    regards,
    a newb game making fox.
  2. This falls outside what the base engine was designed to do so a plugin or extensive eventing is likely needed. Unfortunately, I'm not aware of any plugins that do this particular thing so unless someone else knows of such a plugin, you'll have to event it. You might be able to ask for a little bit of scripting to have the engine randomly deactivate one of the options per turn or something similar. If you request that, make sure you detail exactly how you want it to work.
  3. You might be able to event it using a troop event with Scope: Turn and Condition: Turn End, along with a few [invisible] states. Have one state per skill type, each with a different Add Skill Type trait. Make sure the actors/classes don't have these Add Skill Type traits. Then have the troop event remove all these states from the party and randomly pick three of the four to (re-)apply. For the random choice: you can set a variable to a random number using Control Variables, then use a few Conditional Branch commands to do different stuff based on the value of that variable. ^_^

    Lastly, make a copy of that troop event and give the copy Scope: Battle and Condition: Turn 0; I think that should set up the random skills before the first player input phase begins. :kaoswt2:

    I'll also mention that Yanfly has a Base Troop Events plugin that can save you some copy+paste time in this sort of situation. =)
  4. @caethyril That works like a charm, thank you! :3