-[21:14:33] [Server thread/INFO]: ERROR! 'npc' is an unknown argument!
-[21:14:33] [Server thread/INFO]: ERROR in script 'DUNGEON_01_ASSIGNMENT02'! Woah! Invalid
- arguments were specified!
-[21:14:33] [Server thread/INFO]: +> [Denizen] +> MESSAGE follows: 'Must specify
- entity/entities!'
-[21:14:33] [Server thread/INFO]: +> [Denizen] Usage: remove [<entity>|...] (<world>)
-[21:14:33] [Server thread/INFO]: +> [Denizen] (Attempted: REMOVE "<npc>")
+Dungeon_01_Assignment02:
+ type: assignment
+ debug: false
+ actions:
+ on assignment:
+ - wait 1t
+ - execute as_server "npc sel <npc.id>" silent
+ - execute as_server "npc vulnerable" silent
+ - execute as_server "npc targetable" silent
+ - execute as_server "trait sentinel" silent
+ - execute as_server "sentinel addtarget PLAYERS" silent
+ - execute as_server "sentinel addignore MONSTERS" silent
+ - execute as_server "sentinel health <util.random.int[10].to[20]>" silent
+ - execute as_server "sentinel damage 4" silent
+ - execute as_server "sentinel attackrate 50" silent
+ - execute as_server "sentinel accuracy 0.01" silent
+ - execute as_server "npc pathopt --avoid-water true" silent
+ - execute as_server "trait health" silent
+ - give arrow qty:10 to:<npc.inventory> slot:20
+ - random {
+ - ^execute as_server "npc skin zombiekill007 -p" silent
+ - ^execute as_server "npc skin Herobrine002 -p" silent
+ - ^execute as_server "npc skin lordjohn777 -p" silent
+ }
+ - execute as_server "npc lookclose" silent
+ - execute as_server "npc push" silent
+ - random {
+ - equip <npc.id> hand:bow[enchantments=DURABILITY,1|ARROW_DAMAGE,1] legs:leather_leggings[dye=co@25,25,25] chest:leather_chestplate[dye=co@25,25,25] boots:leather_boots[dye=co@25,25,25]
+ - equip <npc.id> hand:bow[enchantments=DURABILITY,1|ARROW_DAMAGE,1] legs:IRON_LEGGINGS chest:IRON_CHESTPLATE boots:IRON_BOOTS
+ - equip <npc.id> hand:bow[enchantments=DURABILITY,1|ARROW_DAMAGE,1] legs:IRON_LEGGINGS chest:leather_chestplate[dye=co@25,25,25] boots:IRON_BOOTS
+ }
+ - trigger name:proximity state:true
+ - execute as_server "npc constant --set butcher --value true" silent
+ on hit:
+ - if <player> == null {
+ - queue clear
+ }
+ - cast SLOW duration:<util.random.int[3].to[8]>s power:<util.random.int[1].to[3]> <player>
+ on death:
+ - drop skull_item[skull_skin=<npc.skin>;display_name=head] <npc.location>
+ - wait 1t
+ - remove <npc>