Flamethrower Ability!

Discussion in 'Tutorials' started by MooshroomStatus, Nov 1, 2018.

  1. MooshroomStatus

    MooshroomStatus Active Member
    Premium Supporter Supporter

    Joined:
    May 25, 2016
    Messages:
    190
    Likes Received:
    58
    Version: 4.4.1
    MC Version: 1.12.2
    Language: English
    Tutorial: Video Tutorial
    Discord: MooshroomStatus#3274


    Hey everyone! So I accidentally made a really cool skill when going for something of similar, yet opposite effect. I was wanting to make an ability like that in Terraria when fighting the Lunatic Cultist, and accidentally made a flamethrower instead... So here's my video breaking it down for you. I'll include the file works directly underneath for anyone interested.



    Code:
    ITEM FILE:
    
    FireStick:
      Id: 280
      Data: 0
      Display: '&4Fire Stick'
      Skills:
      - skill{s=Flamethrower1} @Self ~onUse
    Code:
    SKILL FILE:
    
    Flamethrower1:
      Cooldown: 0
      Conditions:
      Skills:
      - projectile{onTick=Flamethrower1-Tick;v=1;i=1;hR=1;vR=1;hnp=false;mr=4;sB=false} @TargetLocation
    Flamethrower1-Tick:
      Skills:
    #  - effect:particles{p=LargeSmoke;amount=10;speed=0;hS=0.1;vS=0.1} @origin
      - projectile{onTick=Flamethrower2-Tick;onHit=Flamethrower2-Hit;v=20;i=1;hR=1;vR=1;hnp=true;mr=10;sfo=0} @TargetLocation
    Flamethrower2-Tick:
      Skills:
      - effect:particles{p=flame;amount=10;speed=0;hS=0.1;vS=0.1} @origin
    Flamethrower2-Hit:
      Skills:
      - damage{a=2}
     
    #1

Share This Page