Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

a skill that uses all of a players SP/MP

Ok, my friend and I are planning on making a game using mr. mo's NeoABS. is there a way to make a skill that uses all of a players SP/MP no matter what level they are without using a script? if not does anyone know how to make a script as such?
 
1) No. You can use a common event called from the skill, but there's no way to tell which actor is using the skill. [ edit ] With NeoABS, the answer is, "Yes" (see below...)

2) [ edit ] this works with the default battle system. For Mr. Mo's ABS, (see below...)
  • Create a common event. (let's call it "drain_SP")
    [o]Insert a "script" command (3rd page on the command menu)
    [o]@>Script: $active_battler.sp = 0

  • Now, on the skill,  select your common event in the "Common Event" section.

  • In the script editor, "Scene_Battle 4" line 124, add the 2nd line shown here...
Code:
    @active_battler = @action_battlers.shift
    $active_battler = @active_battler

Let me take a look at Mr.Mo's battle system. the script edit may need to be in a different spot.

BRB
 
Well, here's what I'd do. Set the SP cost to the absolute maximum value - something like 99999. That should work. The only problem is it'll show a loss of 99999 SP, rather than the amount the person has, but it'll work perfectly otherwise.
 
Gratheo, 9999 is the max.  And that will only work if you have 9999 points to begin with, otherwise you won't be able to use the skill. I thought of that option too.

Ok, Since Mr. Mo's ABS apparently only allows 1 character per party, it's a little easier

  • Create a common event. (let's call it "SP 0")
    [o]Insert a "Change SP" command (3rd page on the command menu)
    [o]@>Change SP: [Aluxes], -9999

  • Now, on the skill,  select your common event in the "Common Event" section. You can use the common event with as many skills as you like.


Be Well
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top