Attack value without weapon attack power to variable

Discussion in 'Game Mechanics Design' started by LynX, Jan 10, 2016.

  1. LynX

    LynX Veteran Veteran

    Messages:
    81
    Likes Received:
    7
    Location:
    Poland
    First Language:
    Polish
    Hi Im in need of script call to set variable only with attack of character: but without the weapon power is there a way to it ?
     

    I was thinking about something like that...
    $game_variables[n] = $game_actors[n].atk - $game_actors[1].equips[0].id ??
     
    #1
  2. Wavelength

    Wavelength Pre-Merge Boot Moderator

    Messages:
    4,385
    Likes Received:
    3,658
    Location:
    Florida, USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Move this over to VX Ace Support.

    I think the formula would be $game_variables[n] = a.atk - (a.equips[0].params[2] rescue 0)
     
    #2
    LynX likes this.
  3. LynX

    LynX Veteran Veteran

    Messages:
    81
    Likes Received:
    7
    Location:
    Poland
    First Language:
    Polish
    Thanks gonna check this out at morning.
     
    #3

Share This Page