[VX Ace] Problem with Victor's ATB script and custom slip formula

Discussion in 'RGSSx Script Support' started by S.Court, Aug 8, 2016.

  1. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    Hello, I have a small trouble with Victor's ATB script (This one) and Victor's custom slip formula (This one)


    You'll see, I'm using a custom formula for inherent MP regen

    Code:
    <custom mp regen>
    b.mmp * (0.05 + (b.luk.to_f/1000))
    </custom mp regen>
    


    The problem is how Victor's ATB script is making the regen works


    You'll see, one of the configurable parts is about regeneration trigger


    #--------------------------------------------------------------------------
    # * Regenerarion Trigger
    # All regen effects triggers at same time no matter of the source, here
    # you can set when the regen trigger
    # :turn : at the turn end
    # :action : at the action end
    # :timing : at fixed intervals
    # It's highly recomended to setup all regen and poison states with the
    # same auto-removal condition to ensure the duration match the trigger
    #--------------------------------------------------------------------------
    VE_ATB_REGEN_TRIGGER = :action


    The first trouble is when I set it to :turn it just doesn't work, so I tend to work with :action


    Now, when I use the cast time tag


    # <cast time: x>
    # <cast time: x, y>
    # Actions with this will have a cast time before executing, you can add
    # opitionally wich stat will be used to define the speed.
    # x : cast speed (100 = default speed)
    # y : stat (any valid battler stat)


    When I use it under :action in regeneration triggers, the MP regen triggers when I use a skill with a cast time, it'll trigger when cast time starts AND after the skill executes, that means a double MP regen.


    Otherwise, it simple doesn't trigger when I use it under :turn


    Can someone please help me to fix this? Thanks a lot

     
     
    Last edited by a moderator: Aug 10, 2016
    #1
  2. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    BUMP
     
    #2
  3. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    BUMP
     
    #3
  4. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    BUMP
     
    #4
  5. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    BUMP
     
    #5
  6. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    BUMP
     
    #6
  7. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
    BUMP
     
    #7
  8. S.Court

    S.Court Veteran Veteran

    Messages:
    394
    Likes Received:
    97
    Location:
    Colombia
    First Language:
    Español
    Primarily Uses:
    RMVXA
     
    #8

Share This Page