Need help Creating a "Chain lightning" spell

Discussion in 'Javascript/Plugin Support' started by SlackerG, Jul 7, 2019.

  1. SlackerG

    SlackerG Villager Member

    Messages:
    7
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    Hi, pretty new to Rpgmaker MV.
    Im using yanfly plugins mainly, and i have her "target core" plugin. But i cant for the life of me figure out how to make it work correctly, as there is a javascript option for advanced users, but its beyond me.
    I would like the spell to hit 3 targets (current problem number 1, it hits some targets twice, especially if there isnt 3 targets. I only want it to hit each target once). And also if possible, i would like for it to have diminishing returns, ie 80 damage on initial target, then bounces to second target (preferably random) for 60 , then a third target for 40.
    If there is a plugin i have missed that can do this for me thatd be great, or if im in the wrong place, point me in the right direction.

    thanks in advance
     
    #1
  2. shockra

    shockra Slightly Crazy Programmer Veteran

    Messages:
    394
    Likes Received:
    166
    Location:
    US
    First Language:
    English
    Primarily Uses:
    RMMV
    Yanfly did this exact thing in a Tips & Tricks video:

     
    #2
    SlackerG and caethyril like this.
  3. SlackerG

    SlackerG Villager Member

    Messages:
    7
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    Awesome. Thank you
     
    #3

Share This Page