Paste #29344: Untitled Paste

Date: 2016/01/29 07:24:42 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


RaidBossEvent:
    type: world
    events:
      on Raidboss targets player:
      - if <entity.has_flag[throw_cooldown]>
        - queue clear
     }
      - determine <context.damage.mul[4]>
      - flag entity throw_cooldown duration:15s
      - random {
        - shoot <e@splash_potion[potion=i@potion,100[potion=POISON,2,true,true]> dest:<context.target.location> origin:<context.entity.location>
        - shoot <e@splash_potion[potion=i@potion,104[potion=WEAKNESS,2,true,true]> dest:<context.target.location> origin:<context.entity.location>
        - shoot <e@splash_potion[potion=i@potion,106[potion=SLOWNESS,2,true,true]> dest:<context.target.location> origin:<context.entity.location>
      }




RaidBoss:
    type: entity
    entity_type: wither
    custom_name: "&4&lRaid Boss"
    events:
    - equip i@diamondhelmet[display_name=<&4><&l>Raid Boss<&f><&l> Helmet;enchantments=PROTECTION_ENVIRONMENTAL,4|DURABILITY,3];lore=<&c><&o>This gearpiece belongs to the only warrior who slayed the master himself.]"
    - equip i@diamondchestplate[display_name=<&4><&l>Raid Boss<&f><&l> Chestplate;enchantments=PROTECTION_ENVIRONMENTAL,4|DURABILITY,3];lore=<&c><&o>This gearpiece belongs to the only warrior who slayed the master himself.]"
    - equip i@diamondleggings[display_name=<&4><&l>Raid Boss<&f><&l> Leggings;enchantments=PROTECTION_ENVIRONMENTAL,4|DURABILITY,3];lore=<&c><&o>This gearpiece belongs to the only warrior who slayed the master himself.]"
    - equip i@diamondboots[display_name=<&4><&l>Raid Boss<&f><&l> Boots;enchantments=PROTECTION_ENVIRONMENTAL,4|DURABILITY,3];lore=<&c><&o>This gearpiece belongs to the only warrior who slayed the master himself.]"
    - equip i@diamondsword[display_name=<&4><&l>Raid Boss<&f><&l> Sword;enchantments=DAMAGE_ALL,5|DURABILITY,3|FIRE_ASPECT,2];lore=<&c><&o>This masterpiece belongs to the only warrior who slayed the master himself.]"



# - determine <context.damage.mul[4]>
# determine no_drops
# <e@entity.speed>