Zero Gravity Minigame

Discussion in 'Show Off' started by microwave0, Apr 24, 2020.

  1. microwave0

    microwave0 New Member
    Premium Supporter Supporter

    Joined:
    Nov 7, 2019
    Messages:
    13
    Likes Received:
    1
    This minigame is a pvp game based in zero gravity. All items disappear on death to prevent them from leaving the arena. Interacting with the NPC mobs will give items and effects and need to be spawned in at all the entrances to the arena. The items, skills, and mobs are listed below. This minigame requires artifacts.

    Code:
    ZeroGBoost:
      Id: blaze_rod
      Display: '&BZero G Booster'
      Attributes:
        MainHand:
      Options:
        PreventDropping: true
      Enchantments:
      - VANISHING_CURSE:1
      Hide:
      - Enchants
      Lore:
      - '&6Right Click to move the direction'
      - '&6you are facing. Left click for up'
      - '&6Shift left click for down'
      Skills:
      - skill{s=BoostForward} @forward{f=5;y=-2.3} ~onUse
      - skill{s=BoostUp} @self ~onSwing
      - skill{s=BoostDown} @self ~onSwing
    
    ZeroGBow:
      Id: bow
      Display: '&BZero G Bow'
      Options:
        Unbreakable: true
        Repairable: false
        PreventDropping: true
      Enchantments:
      - VANISHING_CURSE:1
      - ARROW_INFINITE:1
      - ARROW_KNOCKBACK:2
      Hide:
      - Enchants
      - Unbreakable
    
    ZeroGBoots:
      Id: gold_boots
      Display: '&BZero G Boots'
      Attributes:
        FEET:
          Armor: 6
      Options:
        Unbreakable: true
        Repairable: false
        PreventDropping: true
      Enchantments:
      - PROTECTION_ENVIRONMENTAL:5
      - PROTECTION_FALL:4
      - VANISHING_CURSE:1
      Hide:
      - Enchants
      - Unbreakable
      Skills:
      - setgravity{g=true} @self ~onDeath
    Code:
    BoostDown:
      Cooldown: 0.5
      Conditions:
      - crouching true
      Skills:
      - throw{v=0;vy=-4}
    
    BoostForward:
      Cooldown: 1
      Skills:
      - leap{v=110}
    
    BoostUp:
      Cooldown: 0.5
      Conditions:
      - crouching false
      Skills:
      - throw{v=0;vy=3}
    Code:
    ZeroGNPCOn:
      Type: zombie
      Display: '&BPlay Zero G'
      Options:
        Despawn: false
        Invincible: true
        Interactable: true
        PreventItemPickup: true
        PreventRenaming: true
        PreventSunburn: true
        PreventRandomEquipment: true
        Silent: true
        Collidable: false
      AIGoalSelectors:
      - 0 clear
      - 1 lookatplayers
      Skills:
      - giveitem{i=ZeroGBoots} @trigger ~onInteract
      - giveitem{i=ZeroGBoost} @trigger ~onInteract
      - setgravity{g=false} @trigger ~onInteract
      - giveitem{i=ZeroGBow} @trigger ~onInteract
      - giveitem{i=arrow;a=2} @trigger ~onInteract
    
    ZeroGNPCOff:
      Type: zombie
      Display: '&BStop Zero G'
      Options:
        Despawn: false
        Invincible: true
        Interactable: true
        PreventItemPickup: true
        PreventRenaming: true
        PreventSunburn: true
        PreventRandomEquipment: true
        Silent: true
        Collidable: false
      AIGoalSelectors:
      - 0 clear
      - 1 lookatplayers
      Skills:
      - setgravity{g=true} @trigger ~onInteract
     
    #1

Share This Page