Announcement

Collapse
No announcement yet.

Enhanced Defend

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Enhanced Defend

    I want to make defending during battle more useful, especially for mage type characters. How can I make it so that when a character chooses to defend during battle, not only does their defense increase but their magic points increase by a specific number or even a percentage?

    #2
    Re: Enhanced Defend

    So, the long wait for a response starts, eh? I wish I could help you more but I've never gotten that far in RM2.

    Do you have the Prima guide? If so, I'd probably start by looking up the script used to set the "Defending" status, and the variable (or the event command, if SP isn't tracked using a variable) used to track a character's SP. Add a line which restores SP (no higher than the character's max) to the line which sets the Defending status.

    If you don't have the Guide let me know and I can try to find the relevant places for you...


    How Badly Do You Want It? (VX Ace) is now available for download! - no outside software necessary.

    "I live and love in God's peculiar light." - Michelangelo

    Comment


      #3
      Re: Enhanced Defend

      Oops - meant to get back to this, but forgot!

      I'll see if I can find my PS2 and look around. I think I know what to do, but am unable to confirm if it works.

      I'll try to check it out tonight sometime...

      MOO!




      Comment


        #4
        Re: Enhanced Defend

        I think I've found the correct scripts to use: 130-Turn Defend Up, 131-Turn Defend Down, but I have no idea what to add to them to get the effects I want.
        Also, I thought about using an indirect effect to do this, but again I am at a loss of what exactly needs to be done.

        Thanks for the replies, I appreciate it.

        Comment


          #5
          Re: Enhanced Defend

          Originally posted by Seraph View Post
          I think I've found the correct scripts to use: 130-Turn Defend Up, 131-Turn Defend Down, but I have no idea what to add to them to get the effects I want.
          Also, I thought about using an indirect effect to do this, but again I am at a loss of what exactly needs to be done.

          Thanks for the replies, I appreciate it.
          Seraph, the Turn Defend Direct Effect you mentioned should work just fine.

          Just go into the Turn Defend script (it's File 135 on my screen) and add the desired amount of magic points to your character using variable 98.

          In it's most basic form should look something like this:

          Battle: Substitute Target Attribute for Variable
          Data:Variable[Magic Points]=Variable[Magic Points] + (10)

          That will add 10 magic points to your character everyime he/she uses Defend.
          Last edited by Jeremy; 04-07-2012, 07:05 PM.

          Comment

          Working...
          X