Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {already::%player%::dungeon} = false
- on death:
- victim is not a player
- attacker is a player
- if {already::%attacker%::dungeon} is true:
- clear drops
- set {_x} to display name of victim
- replace "-", "Dungeon", "&e" and " " with "" in {_x}
- set {_y} to {dungeon::%{_x}%::nivel} * 16
- if "%{_x}%" is equal to "%{already::%attacker%::dungeon::name}%":
- add 1 to {dungeon::%{_x}%::kills}
- if {dungeon::%{_x}%::kills} is more than or equal to {_y}:
- broadcast "&f[&aDungeons&f] %attacker% completou a dungeon &a%{_x}%&f de nivel &a%{dungeon::%{_x}%::nivel}%&f."
- add "%attacker%" to {dungeon::%{_x}%::completaram::*}
- set {dungeon::%{_x}%::rodando} to false
- set {already::%attacker%::dungeon} to false
- loop all entities in radius 100 around {dungeon::%{_x}%::coords}:
- if loop-entity is not a player:
- if display name of loop-entity contains "&e%{_x}% - Dungeon":
- kill the loop-entity
- set {_ee} to a random integer between 0 and {dungeon::%{_x}%::nivel}
- if {_ee} is equal to 0:
- drop 1 diamond sword of sharpness 5, fire aspect 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 1:
- drop 1 diamond sword of sharpness 4, fire aspect 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 2:
- drop 1 diamond sword of sharpness 5, fire aspect 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 3:
- drop 1 diamond sword of sharpness 6, fire aspect 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 4:
- drop 1 diamond sword of sharpness 7, fire aspect 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 5:
- drop 1 diamond sword of sharpness 8, fire aspect 5, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 6:
- drop 1 diamond pickaxe of efficiency 6, fortune 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 7:
- drop 1 diamond pickaxe of efficiency 7, fortune 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 8:
- drop 1 diamond pickaxe of efficiency 6, fortune 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 9:
- drop 1 diamond pickaxe of efficiency 6, fortune 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 10:
- drop 1 diamond pickaxe of efficiency 8, fortune 3, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 11:
- drop 1 diamond pickaxe of efficiency 6, fortune 4, unbreaking 3 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 12:
- drop 1 diamond helmet of protection 6, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond chestplate of protection 6, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond leggings of protection 6, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond boots of protection 6, unbreaking 4 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 13:
- drop 1 diamond helmet of protection 5, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond chestplate of protection 5, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond leggings of protection 5, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond boots of protection 5, unbreaking 4 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 14:
- drop 1 diamond helmet of protection 7, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond chestplate of protection 7, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond leggings of protection 7, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond boots of protection 7, unbreaking 4 at {dungeon::%{_x}%::coords}
- if {_ee} is equal to 15:
- drop 1 diamond helmet of protection 8, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond chestplate of protection 6, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond leggings of protection 5, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond boots of protection 9, unbreaking 4 at {dungeon::%{_x}%::coords}
- if {_ee} is more than or equal to 16:
- drop 1 diamond helmet of protection 10, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond chestplate of protection 10, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond leggings of protection 10, unbreaking 4 at {dungeon::%{_x}%::coords}
- wait 10 ticks
- drop 1 diamond boots of protection 10, unbreaking 4 at {dungeon::%{_x}%::coords}
- on damage:
- victim is not a player
- if attacker is a player:
- set {_x} to display name of victim
- replace "- Dungeon", "&e" and " " with "" in {_x}
- if "%{_x}%" is not equal to "%{already::%attacker%::dungeon::name}%":
- if "%display name of victim%" contains "<none>":
- stop
- else:
- send "&f[&aDungeons&f] &cVocê não pode atacar os mobs da dungeon de outro jogador." to attacker
- cancel event
- command /create-dungeon [<integer>] [<integer>]:
- trigger:
- if player is op:
- if arg 1 is set:
- if arg 2 is set:
- if {dungeon::%arg-1%} is not set:
- if arg 2 is less than or equal to 20:
- set {dungeon::%arg-1%::rodando} to false
- set {dungeon::%arg-1%} to arg-1
- set {dungeon::%arg-1%::coords} to player's location
- set {dungeon::%arg-1%::nivel} to arg-2
- set {dungeon::%arg-1%::kills} to 0
- set {dungeon::%arg-1%::completaram::*} to 0
- make player execute command "hd create %arg-1% &aDungeon &6%arg-1%&a Nivel &6%arg-2%&a."
- make player execute command "hd addline %arg-1% &aPara participar &6/dungeon %arg-1%&a para começar."
- set {battdungeon::%player%} to arg-1
- send "&aBata nos blocos de ferro para setar as 4 posições"
- send "&abotão direito para remover."
- else:
- send "&cO nivel máximo de uma dungeon é 20."
- else:
- send "&cJá existe uma dungeon com esse ID."
- else:
- send "&cUse /create-dungeon [ID] [Nivel]"
- else:
- send "&cUse /create-dungeon [ID] [Nivel]"
- else:
- send "&cSem permissão."
- command /delete-dungeon [<integer>]:
- trigger:
- if player is op:
- if arg 1 is set:
- if {dungeon::%arg-1%} is set:
- delete {dungeon::%arg-1%::rodando}
- delete {dungeon::%arg-1%}
- delete {dungeon::%arg-1%::coords}
- delete {dungeon::%arg-1%::nivel}
- delete {dungeon::%arg-1%::kills}
- delete {dungeon::%arg-1%::completaram::*}
- make player execute command "hd delete %arg-1%"
- delete {dungeon::%arg-1%::loc1}
- delete {dungeon::%arg-1%::loc2}
- delete {dungeon::%arg-1%::loc3}
- delete {dungeon::%arg-1%::loc4}
- send "&aDungeon removida com sucesso."
- else:
- send "&cNão existe uma dungeon com esse ID."
- else:
- send "&cUse /delete-dungeon (ID)"
- else:
- send "&cSem permissão."
- on inventory click:
- if name of player's current inventory contains "&eDungeons Completas/Perdidas" or "&eDungeons Não-iniciadas":
- cancel event
- else if name of player's current inventory contains "&eDungeons Selecione":
- cancel event
- clicked slot is 12:
- close player's inventory
- wait 1 tick
- open chest with 6 row named "&eDungeons Completas/Perdidas" to player
- wait 1 tick
- set {_setslot} to -1
- loop {dungeon::*}:
- if "%{dungeon::%loop-value%::completaram::*}%" contains "%player%":
- add 1 to {_setslot}
- set {_x} to x-coords of {dungeon::%loop-value%::coords}
- set slot {_setslot} of player's current inventory to book named "&eDungeon &6%loop-value%&e." with lore "&eRodando: &6%{dungeon::%loop-value%::rodando}%&e||&eCoordenadas: &6X: %{_x}%, Y: ???, Z: ???&e.||&eNivel: &6%{dungeon::%loop-value%::nivel}%&e."
- if {_setslot} is -1:
- set slot 0 of player's current inventory to paper named "&eNão há mais dungeons." with lore "&eVocê já completou todas as dungeons, Espere liberar mais."
- clicked slot is 14:
- close player's inventory
- wait 1 tick
- open chest with 6 row named "&eDungeons Não-iniciadas" to player
- wait 1 tick
- set {_setslot} to -1
- loop {dungeon::*}:
- if "%{dungeon::%loop-value%::completaram::*}%" contains "%player%":
- add 1 to {_ee}
- else:
- add 1 to {_setslot}
- set {_x} to x-coords of {dungeon::%loop-value%::coords}
- set slot {_setslot} of player's current inventory to book named "&eDungeon &6%loop-value%&e." with lore "&eRodando: &6%{dungeon::%loop-value%::rodando}%&e||&eCoordenadas: &6X: %{_x}%, Y: ???, Z: ???&e.||&eNivel: &6%{dungeon::%loop-value%::nivel}%&e."
- if {_setslot} is -1:
- set slot 0 of player's current inventory to paper named "&eNenhuma dungeon completa." with lore "&eVocê ainda não completou nenhuma dungeon."
- command /dungeons:
- trigger:
- open chest with 3 row named "&eDungeons Selecione" to player
- wait 1 tick
- set slot 12 of player's current inventory to book named "&eDungens Completas/Perdidas." with lore "&eDungeons que você perdeu ou conseguiu completar"
- set slot 14 of player's current inventory to book named "&eDungens Não-iniciadas." with lore "&eDungeons que você ainda &cNÃO&e achou/iniciou"
- on break:
- if {battdungeon::%player%} is set:
- cancel event
- if {dungeon::%{battdungeon::%player%}%::loc1} is not set:
- set {dungeon::%{battdungeon::%player%}%::loc1} to block above target block's location
- send "&aPosição 1 setada com sucesso." to player
- else if {dungeon::%{battdungeon::%player%}%::loc2} is not set:
- set {dungeon::%{battdungeon::%player%}%::loc2} to block above target block's location
- send "&aPosição 2 setada com sucesso." to player
- else if {dungeon::%{battdungeon::%player%}%::loc3} is not set:
- set {dungeon::%{battdungeon::%player%}%::loc3} to block above target block's location
- send "&aPosição 3 setada com sucesso." to player
- else if {dungeon::%{battdungeon::%player%}%::loc4} is not set:
- set {dungeon::%{battdungeon::%player%}%::loc4} to block above target block's location
- send "&aPosição 4 setada com sucesso." to player
- delete {battdungeon::%player%}
- send "&aCriação de dungeon concluida."
- else:
- delete {battdungeon::%player%}
- send "&aCriação de dungeon concluida."
- on rightclick:
- if {battdungeon::%player%} is set:
- if {dungeon::%{battdungeon::%player%}%::loc1} is set:
- delete {dungeon::%{battdungeon::%player%}%::loc1}
- send "&aPosição 1 deletada com sucesso." to player
- else if {dungeon::%{battdungeon::%player%}%::loc2} is set:
- delete {dungeon::%{battdungeon::%player%}%::loc2}
- send "&aPosição 2 deletada com sucesso." to player
- else if {dungeon::%{battdungeon::%player%}%::loc3} is set:
- delete {dungeon::%{battdungeon::%player%}%::loc3}
- send "&aPosição 3 deletada com sucesso." to player
- else if {dungeon::%{battdungeon::%player%}%::loc4} is set:
- delete {dungeon::%{battdungeon::%player%}%::loc4}
- send "&aPosição 4 deletada com sucesso." to player
- delete {battdungeon::%player%}
- send "&aCriação de dungeon concluida."
- else:
- delete {battdungeon::%player%}
- send "&aCriação de dungeon concluida."
- on quit:
- if {already::%player%::dungeon} is true:
- set {already::%player%::dungeon} to false
- set {dungeon::%{already::%player%::dungeon::name}%::rodando} to false
- broadcast "&f[&aDungeons&f] &c%player% &cdeslogou e perdeu uma dungeon de nivel &a%{dungeon::%{already::%player%::dungeon::name}%::nivel}%&c."
- delete {already::%player%::dungeon::name}
- add "%player%" to {dungeon::%{already::%player%::dungeon::name}%::completaram::*}
- set {dada::%player%} to true
- loop all entities in radius 100 around {dungeon::%{already::%player%::dungeon::name}%::coords}:
- if loop-entity is not a player:
- if display name of loop-entity contains "&e%{already::%player%::dungeon::name}% - Dungeon":
- kill the loop-entity
- delete {already::%player%::dungeon::name}
- every 5 seconds:
- loop all players:
- if {already::%loop-player%::dungeon} is true:
- if distance between loop-player and {dungeon::%{already::%loop-player%::dungeon::name}%::coords} is less than or equal to 25:
- stop
- else:
- set {already::%loop-player%::dungeon} to false
- set {dungeon::%{already::%loop-player%::dungeon::name}%::rodando} to false
- broadcast "&f[&aDungeons&f] &c%loop-player% &cse afastou demais e perdeu uma dungeon de nivel &a%{dungeon::%{already::%loop-player%::dungeon::name}%::nivel}%&c."
- add "%loop-player%" to {dungeon::%{already::%loop-player%::dungeon::name}%::completaram::*}
- loop all entities in radius 100 around {dungeon::%{already::%loop-player%::dungeon::name}%::coords}:
- if loop-entity-2 is not a player:
- if display name of loop-entity-2 contains "&e%{already::%loop-player%::dungeon::name}% - Dungeon":
- kill the loop-entity-2
- delete {already::%loop-player%::dungeon::name}
- on join:
- if {dada::%player%} is true:
- delete {dada::%player%}
- send "&f[&aDungeons&f] &cVocê deslogou em uma dungeon e perdeu." to player
- command /dungeon [<integer>]:
- trigger:
- if arg 1 is set:
- if {dungeon::%arg-1%} is set:
- if distance between player and {dungeon::%arg-1%::coords} is less than or equal to 20:
- if "%{dungeon::%arg-1%::completaram::*}%" contains "%player%":
- send "&cVocê já foi nessa dungeon."
- else:
- if {already::%player%::dungeon} is false:
- if {dungeon::%arg-1%::rodando} is false:
- set {_x} to {dungeon::%arg-1%::nivel} * 28
- set {already::%player%::dungeon} to true
- set {already::%player%::dungeon::name} to arg-1
- set {dungeon::%arg-1%::rodando} to true
- send "&aIniciando dungeon..."
- set {_y} to {_x} / 4
- set {dungeon::%arg-1%::kills} to 0
- loop {_y} times:
- set {_mob} to a random integer between 1 and 5
- if {_mob} is 1:
- spawn 1 zombie at {dungeon::%arg-1%::loc1}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 zombie at {dungeon::%arg-1%::loc2}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 zombie at {dungeon::%arg-1%::loc3}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 zombie at {dungeon::%arg-1%::loc4}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- else if {_mob} is 2:
- spawn 1 skeleton at {dungeon::%arg-1%::loc1}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 skeleton at {dungeon::%arg-1%::loc2}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 skeleton at {dungeon::%arg-1%::loc3}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 skeleton at {dungeon::%arg-1%::loc4}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- else if {_mob} is 3:
- spawn 1 blaze at {dungeon::%arg-1%::loc1}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 blaze at {dungeon::%arg-1%::loc2}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 blaze at {dungeon::%arg-1%::loc3}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 blaze at {dungeon::%arg-1%::loc4}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- else if {_mob} is 4:
- spawn 1 spider at {dungeon::%arg-1%::loc1}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 spider at {dungeon::%arg-1%::loc2}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 spider at {dungeon::%arg-1%::loc3}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 spider at {dungeon::%arg-1%::loc4}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- else:
- spawn 1 spider at {dungeon::%arg-1%::loc1}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 spider at {dungeon::%arg-1%::loc2}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 spider at {dungeon::%arg-1%::loc3}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- spawn 1 spider at {dungeon::%arg-1%::loc4}
- set name of last spawned entity to "&e%arg-1% - Dungeon"
- equip last spawned entity with diamond helmet of protection 7, unbreaking 7
- equip last spawned entity with diamond chestplate of protection 7, unbreaking 7
- equip last spawned entity with diamond leggings of protection 7, unbreaking 7
- equip last spawned entity with diamond boots of protection 7, unbreaking 7
- set tool of last spawned entity to diamond sword of sharpness 7, fire aspect 1000
- set the maximum health of the last spawned entity to 20
- heal the last spawned entity
- wait 1 seconds
- else:
- send "&cEssa dungeon já está rodando."
- else:
- send "&cVocê já está em uma dungeon."
- else:
- send "&cVocê precisa estar perto da dungeon."
- else:
- send "&cEssa dungeon não existe."
- else:
- open chest with 3 row named "&eDungeons Selecione" to player
- wait 1 tick
- set slot 12 of player's current inventory to book named "&eDungens Completas/Perdidas." with lore "&eDungeons que você perdeu ou conseguiu completar"
- set slot 14 of player's current inventory to book named "&eDungens Não-iniciadas." with lore "&eDungeons que você ainda &cNÃO&e achou/iniciou"
Advertisement
Add Comment
Please, Sign In to add comment