boomy
Reaction score
106

Profile posts Latest activity Postings About

  • MZ still has the problem as MV of the script call box having a maximum of 12 lines Guess that line break remover tool will have to wait for its retirement
    I'm sorry to bother you but I could use a little help.


    Right now I have my attack command set to change at lvl 26 using this script.


    <Custom Replace Attack>


    if (user.level > 25) {


    id = 18;


    } else {


    id = 0;


    }


    </Custom Replace Attack>


    I would to have it to where the attack command would change under 2 additional requirements.


    At Level 38 I would like for it to be able to use skill ID 22 but only when the actor hp is 25% or below.


    Using the script you help with earlier I wrote something like this


    <Custom Replace Attack>
    if (user.hp <= user.mhp * 0.25)(user.level > 37) {
      id = 22;
    } else {
       if (user.level > 25) {
        id = 18;
      } else {
        id = 0;
    }
    </Custom Replace Attack>


    But as i'm sure you can tell that didn't work.


    Any chance you could help me out with this?
    EternalShadow
    EternalShadow
    On line 1 instead of )( put &&
    StevenOlinger
    StevenOlinger
    I solved the issue.


    <Custom Replace Attack>


    if (user.hp <= user.mhp * 0.25 && user.level > 37) {


      id = 22;


    } else {


      if (user.level > 25) {


        id = 18;


      } else {


        id = 0;


      }


    }


    </Custom Replace Attack>


    This script here works perfectly for what I'm trying to accomplish. Thanks for the help EternalShadow.


    And I apologize for blowing up your notifications boomy. haha.
  • Loading…
  • Loading…
  • Loading…

Latest Threads

Latest Posts

Latest Profile Posts

Making Houses and Outside on the same map with RPG Maker MV!
Do people actually use buff/debuff function?
Ami


Imagine you (as Miner) Sleep in the Cave,the other side is a Bunch of Golds,how d'you feel?
finally got footage of my main character running around his corrupted street...
I finally got the ships and water to flow like I wanted to~ the canals are a success. Now to loop the animation for the kites. So many kites.

Forum statistics

Threads
107,701
Messages
1,031,528
Members
139,835
Latest member
dangkykubetim
Top