Force Miss Command

Discussion in 'Javascript/Plugin Support' started by romepizza, May 30, 2016.

  1. romepizza

    romepizza Veteran Veteran

    Messages:
    40
    Likes Received:
    1
    First Language:
    German
    Hey guys and girls,


    is there a way to force an action to miss?


    Something like this simple psoydo code: (character/action).setForceMiss(true);


    Background:


    I'd like to make a state using Yanflys BuffStateCore plugin, that makes the next hit the character recieves to miss. My idea is to make a <Custom React Effect>. In there I can get access to the enemy that hits me with a skill (user), my character, which is under the influance of the state (target) and something called a "Game_Action" (this). I don't exacty know what a Game Action is, but as far as I understood it, it is the action or attack the enemy performes. It also has a property called "isForceMiss = false" so I wonder if I can set this property to true somehow.


    Thanks in advance.


    Edit: Alternatively a command to alter the hit rate would be enugh.
     
    Last edited by a moderator: May 30, 2016
    #1
  2. romepizza

    romepizza Veteran Veteran

    Messages:
    40
    Likes Received:
    1
    First Language:
    German
    Ok, altering the hit rate is pretty easy. I just realized, that Yanflys Extra Parameters Formula does the job.


    Problem Solved!
     
    #2

Share This Page