Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- if name of victim contains "&dAoda":
- loop all players:
- if {Invocacion.Activacion.Aoda.%loop-player%} is true:
- delete npc {Invocacion.Residual.Aoda.%loop-player%}
- delete {Invocacion.Residual.Aoda.%loop-player%}
- delete {Invocacion.Mordisco.%loop-player%}
- delete {Invocacion.VenenoAodaDMG}
- remove {Invocacion.Eliminar.Aoda} from loop-player's inventory
- remove {Invocacion.Acciones.Aoda} from loop-player's inventory
- set {Invocacion.Esperando.Aoda.%loop-player%} to false
- set {Invocacion.Activacion.Aoda.%loop-player%} to true
- send "&6[Invocacion]&f Tu &aAoda&f acaba de despawnear a manos de &6%attacker%" to loop-player
- command /Aoda [<text>]:
- permission: Aoda
- cooldown: 90 seconds
- cooldown message: &6Disponible dentro de 90 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Aoda.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.Aoda.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Aoda de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Acciones.Aoda} to enchanted book named "&8&o(S+D) &9Veneno Paralizante &f/ &8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &aMordisco"
- set {Invocacion.Eliminar.Aoda} to paper named "&cEliminar Aoda"
- give {Invocacion.Eliminar.Aoda} to player
- give {Invocacion.Acciones.Aoda} to player
- set {Invocacion.Activacion.Aoda.%player%} to true
- set {Invocacion.Esperando.Aoda.%player%} to true
- set {_npcsombra} to a citizen with name "&dAoda %player%" and entity type "PIG_ZOMBIE"
- wait 1 tick
- set {Invocacion.Residual.Aoda.%player%} to {_npcsombra}
- spawn citizen {_npcsombra} at location of player
- set {_npcid} to id of npc {_npcsombra}
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- apply invisibility to citizen {_npcid} for 99999 seconds
- set citizen {_npcid}'s helmet slot to soul sand named "AODA"
- apply strength 7 to citizen {_npcid} for 90 minutes
- apply speed 9 to citizen {_npcid} for 90 minutes
- apply jump boost 1 to citizen {_npcid} for 90 minutes
- apply resistance 4 to citizen {_npcid} for 90 minutes
- apply fire resistance 5 to citizen {_npcid} for 90 minutes
- set citizen {_npcid} max health to 210
- heal citizen {_npcid}
- on any movement:
- if {StunAoda.%player%} is true:
- cancel event
- on right click:
- if player's tool is {Invocacion.Acciones.Aoda}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dAoda %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.VenenoAoda.%player%} is not set:
- set {Invocacion.VenenoAoda.%player%} to 0
- if {Invocacion.VenenoAoda.%player%} is less than 1:
- set {Invocacion.VenenoAoda.%player%} to 50
- force the npc {Invocacion.Residual.Aoda.%player%} to follow target with aggressive state true
- make player execute command "/cast VenenoParalizante"
- while {Invocacion.VenenoAoda.%player%} is more than 0:
- subtract 1 from {Invocacion.VenenoAoda.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.VenenoAoda.%player%}%&7&os )" to player
- stop
- else:
- force the npc {Invocacion.Residual.Aoda.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.Aoda}:
- delete npc {Invocacion.Residual.Aoda.%player%}
- delete {Invocacion.Residual.Aoda.%player%}
- delete {Invocacion.Mordisco.%player%}
- delete {Invocacion.VenenoAodaDMG} and {Invocacion.VenenoAoda.%player%}
- remove {Invocacion.Eliminar.Aoda} from player's inventory
- remove {Invocacion.Acciones.Aoda} from player's inventory
- set {Invocacion.Esperando.Aoda.%player%} to false
- set {Invocacion.Activacion.Aoda.%player%} to true
- if player's tool is {Invocacion.Acciones.Aoda}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dAoda %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.Mordisco.%player%} is not set:
- set {Invocacion.Mordisco.%player%} to 0
- if {Invocacion.Mordisco.%player%} is less than 1:
- set {Invocacion.Mordisco.%player%} to 70
- make player damage target by 8
- teleport npc {Invocacion.Residual.Aoda.%player%} to location of target
- make target run command "/particle magicCrit ~1 ~1 ~1 2 0.1 2 1 170 normal" as op
- send "&6[Invocacion] &f¡Mordisco!" to player
- send "&6[Invocacion] &f¡Mordisco!" to target
- force the npc {Invocacion.Residual.Aoda.%player%} to attack targeted entity with aggressive state true
- while {Invocacion.Mordisco.%player%} is more than 0:
- subtract 1 from {Invocacion.Mordisco.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.Mordisco.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&dAoda %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Residual.Aoda.%player%} to attack targeted entity with aggressive state true
- #Aoda
- on damage:
- if distance between attacker and {Invocacion.Residual.ABReina.%attacker%} is smaller than 16:
- increase damage by 290%
- stop
- if {Invocacion.Escudo.%victim%} is true:
- cancel event
- add 1 to {Invocacion.EscudoCount.%victim%}
- if {Invocacion.EscudoCount.%victim%} is greater than 2:
- set {Invocacion.Escudo.%victim%} to false
- delete {Invocacion.EscudoCount.%victim%}
- send "&cSe te acabo el Efecto del Escudo de la Abjea Reina" to victim
- on death:
- if name of victim contains "&dABReina":
- loop all players:
- if {Invocacion.Activacion.ABReina.%loop-player%} is true:
- delete npc {Invocacion.Residual.ABReina.%loop-player%}
- delete {Invocacion.Residual.ABReina.%loop-player%}
- delete {Invocacion.AcidoABReina.%loop-player%}
- remove {Invocacion.Eliminar.ABReina} from loop-player's inventory
- remove {Invocacion.Acciones.ABReina} from loop-player's inventory
- set {Invocacion.Esperando.ABReina.%loop-player%} to false
- set {Invocacion.Activacion.ABReina.%loop-player%} to true
- send "&6[Invocacion]&f Tu &aAbeja Reina&f acaba de despawnear a manos de &6%attacker%" to loop-player
- command /ABReina [<text>]:
- permission: ABReina
- cooldown: 1 seconds
- cooldown message: &6Disponible dentro de 90 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.ABReina.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.ABReina.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra ABReina de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Acciones.ABReina} to enchanted book named "&8&o(S+D) &dEscudo &f/ &8&o(D) &dSeguir &f/ &8&o(I) &cAtacar"
- set {Invocacion.Eliminar.ABReina} to paper named "&cEliminar ABReina"
- give {Invocacion.Eliminar.ABReina} to player
- give {Invocacion.Acciones.ABReina} to player
- set {Invocacion.Activacion.ABReina.%player%} to true
- set {Invocacion.Esperando.ABReina.%player%} to true
- set {_npcsombra} to a citizen with name "&dABReina %player%" and entity type "ZOMBIE"
- set {_npcid} to id of npc {_npcsombra}
- spawn npc {_npcsombra} at location of player
- set {Invocacion.Residual.ABReina.%player%} to {_npcsombra}
- set {_npcid} to id of npc {_npcsombra}
- wait 1 tick
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- apply invisibility to citizen {_npcid} for 99999 seconds
- set citizen {_npcid}'s helmet slot to soul sand named "ABEJA REINA"
- apply regeneration 3 to citizen {_npcid} for 90 minutes
- apply resistance 3 to citizen {_npcid} for 90 minutes
- apply strength 5 to citizen {_npcid} for 90 minutes
- apply speed 1 to citizen {_npcid} for 90 minutes
- set citizen {_npcid} max health to 250
- heal citizen {_npcid}
- on right click:
- if player's tool is {Invocacion.Acciones.ABReina}:
- if player is sneaking:
- if distance between player and {Invocacion.Residual.ABReina.%player%} is smaller than 19:
- if {Invocacion.AcidoABReina.%player%} is not set:
- set {Invocacion.AcidoABReina.%player%} to 0
- if {Invocacion.AcidoABReina.%player%} is less than 1:
- set {Invocacion.AcidoABReina.%player%} to 180
- force the npc {Invocacion.Residual.ABReina.%player%} to follow player with aggressive state false
- set {Invocacion.Escudo.%player%} to true
- delete npc {Invocacion.Residual.ABReina.%player%}
- delete {Invocacion.Residual.ABReina.%player%}
- delete {Invocacion.AcidoABReina.%player%}
- remove {Invocacion.Eliminar.ABReina} from player's inventory
- remove {Invocacion.Acciones.ABReina} from player's inventory
- set {Invocacion.Esperando.ABReina.%player%} to false
- set {Invocacion.Activacion.ABReina.%player%} to true
- send "&a¡Escudo Activado!"
- while {Invocacion.AcidoABReina.%player%} is more than 0:
- subtract 1 from {Invocacion.AcidoABReina.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.AcidoABReina.%player%}%&7&os )" to player
- stop
- else:
- force the npc {Invocacion.Residual.ABReina.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.ABReina}:
- delete npc {Invocacion.Residual.ABReina.%player%}
- delete {Invocacion.Residual.ABReina.%player%}
- delete {Invocacion.AcidoABReina.%player%}
- remove {Invocacion.Eliminar.ABReina} from player's inventory
- remove {Invocacion.Acciones.ABReina} from player's inventory
- set {Invocacion.Esperando.ABReina.%player%} to false
- set {Invocacion.Activacion.ABReina.%player%} to true
- if player's tool is {Invocacion.Acciones.ABReina}:
- if targeted entity is set:
- if name of targeted entity is "&dABReina %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Residual.ABReina.%player%} to attack targeted entity with aggressive state true
- command /Secuaz [<text>]:
- permission: Secuaz
- cooldown: 7 minutes
- cooldown message: &6Disponible dentro de 7 minutos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Secuaz.%player%} to false
- send "&aReparar aplicado"
- if {Invocacion.Esperando.Secuaz.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Marioneta de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Acciones.Secuaz} to enchanted book named "&8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &dPildoras"
- set {Invocacion.Eliminar.Secuaz} to paper named "&cEliminar Secuaz"
- give {Invocacion.Eliminar.Secuaz} to player
- give {Invocacion.Acciones.Secuaz} to player
- set {_npcsombra} to a citizen with name "&7Secuaz %player%" and entity type "ZOMBIE"
- wait 1 tick
- set {Invocacion.Residual.Secuaz.%player%} to {_npcsombra}
- spawn npc {_npcsombra} at location of player
- set {Invocacion.Activacion.Secuaz.%player%} to true
- set {Invocacion.Esperando.Secuaz.%player%} to true
- set {_npcid} to id of npc {_npcsombra}
- #Hat y Vulnerabilidad
- set citizen {_npcid}'s helmet slot to cyan wool named "Secuaz"
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- #Salud
- set citizen {_npcid} max health to 80
- heal citizen {_npcid}
- apply speed 2 to citizen {_npcid} for 99999 seconds
- apply strength 1 to citizen {_npcid} for 99999 seconds
- apply resistance 2 to citizen {_npcid} for 99999 seconds
- on right click:
- if player's tool is {Invocacion.Acciones.Secuaz}:
- force the npc {Invocacion.Residual.Secuaz.%player%} to follow player with aggressive state false
- on death:
- loop all players:
- if name of victim contains "&7Secuaz %loop-player%":
- if {Invocacion.Activacion.Secuaz.%loop-player%} is true:
- delete npc {Invocacion.Residual.Secuaz.%loop-player%}
- delete {Invocacion.Residual.Secuaz.%loop-player%}
- delete {Invocacion.PildorasSecuaz.%loop-player%}
- remove {Invocacion.Eliminar.Secuaz} from loop-player's inventory
- remove {Invocacion.Acciones.Secuaz} from loop-player's inventory
- set {Invocacion.Esperando.Secuaz.%loop-player%} to false
- set {Invocacion.Activacion.Secuaz.%loop-player%} to true
- send "&6[Invocacion]&f Tu &7Secuaz&f acaba de despawnear a manos de &6%attacker%" to loop-player
- on left click:
- if player's tool is {Invocacion.Eliminar.Secuaz}:
- delete npc {Invocacion.Residual.Secuaz.%player%}
- delete {Invocacion.Residual.Secuaz.%player%}
- delete {Invocacion.PildorasSecuaz.%player%}
- remove {Invocacion.Eliminar.Secuaz} from player's inventory
- remove {Invocacion.Acciones.Secuaz} from player's inventory
- set {Invocacion.Esperando.Secuaz.%player%} to false
- set {Invocacion.Activacion.Secuaz.%player%} to true
- if player's tool is {Invocacion.Acciones.Secuaz}:
- if player is sneaking:
- if {Invocacion.PildorasSecuaz.%player%} is not set:
- set {Invocacion.PildorasSecuaz.%player%} to 0
- if {Invocacion.PildorasSecuaz.%player%} is less than 1:
- set {Invocacion.PildorasSecuaz.%player%} to 60
- force the npc {Invocacion.Residual.Secuaz.%player%} to attack targeted entity with aggressive state true
- send "&6[Invocacion] &f¡Pildoras Sanadoras!" to player
- apply regeneration 2 to player for 30 seconds
- while {Invocacion.PildorasSecuaz.%player%} is more than 0:
- subtract 1 from {Invocacion.PildorasSecuaz.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.PildorasSecuaz.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&7Secuaz %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Residual.Secuaz.%player%} to attack targeted entity with aggressive state true
- command /SecuazFuerte [<text>]:
- permission: SecuazFuerte
- cooldown: 12 minutes
- cooldown message: &6Disponible dentro de 12 minutos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.SecuazFuerte.%player%} to false
- send "&aReparar aplicado"
- if {Invocacion.Esperando.SecuazFuerte.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Marioneta de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Acciones.SecuazFuerte} to enchanted book named "&8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &dPildoras II &f/ &8&o(S+D)&c Suicidio"
- set {Invocacion.Eliminar.SecuazFuerte} to paper named "&cEliminar SecuazFuerte"
- give {Invocacion.Eliminar.SecuazFuerte} to player
- give {Invocacion.Acciones.SecuazFuerte} to player
- set {_npcsombra} to a citizen with name "&6Secuaz %player%" and entity type "ZOMBIE"
- wait 1 tick
- set {Invocacion.Residual.SecuazFuerte.%player%} to {_npcsombra}
- spawn npc {_npcsombra} at location of player
- set {Invocacion.Activacion.SecuazFuerte.%player%} to true
- set {Invocacion.Esperando.SecuazFuerte.%player%} to true
- set {_npcid} to id of npc {_npcsombra}
- #Hat y Vulnerabilidad
- set citizen {_npcid}'s helmet slot to cyan wool named "SecuazFuerte"
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- #Salud
- set citizen {_npcid} max health to 110
- heal citizen {_npcid}
- apply speed 3 to citizen {_npcid} for 99999 seconds
- apply strength 2 to citizen {_npcid} for 99999 seconds
- apply resistance 3 to citizen {_npcid} for 99999 seconds
- on damage:
- if name of attacker contains "&6Secuaz":
- loop all players:
- if {Bomba.SecuazFuerte.%loop-player%} is true:
- delete npc {Invocacion.Residual.SecuazFuerte.%loop-player%}
- delete {Invocacion.Residual.SecuazFuerte.%loop-player%}
- delete {Invocacion.PildorasSecuazFuerte.%loop-player%}
- remove {Invocacion.Eliminar.SecuazFuerte} from loop-player's inventory
- remove {Invocacion.Acciones.SecuazFuerte} from loop-player's inventory
- set {Invocacion.Esperando.SecuazFuerte.%loop-player%} to false
- set {Invocacion.Activacion.SecuazFuerte.%loop-player%} to true
- set {Bomba.SecuazFuerte.%loop-player%} to false
- damage victim by 18
- send "&6[Invocacion] &f¡Castigo Final!" to victim
- on right click:
- if player's tool is {Invocacion.Acciones.SecuazFuerte}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&6Secuaz %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.SuicidioSecuazFuerte2.%player%} is not set:
- set {Invocacion.SuicidioSecuazFuerte2.%player%} to 0
- if {Invocacion.SuicidioSecuazFuerte2.%player%} is less than 1:
- set {Invocacion.SuicidioSecuazFuerte2.%player%} to 600
- force the npc {Invocacion.Residual.SecuazFuerte.%player%} to attack targeted entity with aggressive state true
- set {Bomba.SecuazFuerte.%player%} to true
- while {Invocacion.SuicidioSecuazFuerte2.%player%} is more than 0:
- subtract 1 from {Invocacion.SuicidioSecuazFuerte2.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.SuicidioSecuazFuerte2.%player%}%&7&os )" to player
- stop
- else:
- force the npc {Invocacion.Residual.SecuazFuerte.%player%} to follow player with aggressive state false
- on death:
- loop all players:
- if name of victim contains "&6Secuaz %loop-player%":
- if {Invocacion.Activacion.SecuazFuerte.%loop-player%} is true:
- delete npc {Invocacion.Residual.SecuazFuerte.%loop-player%}
- set {Bomba.SecuazFuerte.%loop-player%} to false
- delete {Invocacion.Residual.SecuazFuerte.%loop-player%}
- delete {Invocacion.PildorasSecuazFuerte.%loop-player%}
- remove {Invocacion.Eliminar.SecuazFuerte} from loop-player's inventory
- remove {Invocacion.Acciones.SecuazFuerte} from loop-player's inventory
- set {Invocacion.Esperando.SecuazFuerte.%loop-player%} to false
- set {Invocacion.Activacion.SecuazFuerte.%loop-player%} to true
- send "&6[Invocacion]&f Tu &6Secuaz&f acaba de despawnear a manos de &6%attacker%" to loop-player
- on left click:
- if player's tool is {Invocacion.Eliminar.SecuazFuerte}:
- delete npc {Invocacion.Residual.SecuazFuerte.%player%}
- delete {Invocacion.Residual.SecuazFuerte.%player%}
- delete {Invocacion.PildorasSecuazFuerte.%player%}
- set {Bomba.SecuazFuerte.%player%} to false
- remove {Invocacion.Eliminar.SecuazFuerte} from player's inventory
- remove {Invocacion.Acciones.SecuazFuerte} from player's inventory
- set {Invocacion.Esperando.SecuazFuerte.%player%} to false
- set {Invocacion.Activacion.SecuazFuerte.%player%} to true
- if player's tool is {Invocacion.Acciones.SecuazFuerte}:
- if player is sneaking:
- if {Invocacion.PildorasSecuazFuerte.%player%} is not set:
- set {Invocacion.PildorasSecuazFuerte.%player%} to 0
- if {Invocacion.PildorasSecuazFuerte.%player%} is less than 1:
- set {Invocacion.PildorasSecuazFuerte.%player%} to 120
- force the npc {Invocacion.Residual.SecuazFuerte.%player%} to attack targeted entity with aggressive state true
- send "&6[Invocacion] &f¡Pildoras Sanadoras!" to player
- apply regeneration 2 to player for 1 minute
- apply resistance 3 to player for 40 seconds
- while {Invocacion.PildorasSecuazFuerte.%player%} is more than 0:
- subtract 1 from {Invocacion.PildorasSecuazFuerte.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.PildorasSecuazFuerte.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&6Secuaz %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Residual.SecuazFuerte.%player%} to attack targeted entity with aggressive state true
- command /Baku [<text>]:
- permission: Baku
- cooldown: 5 seconds
- cooldown message: &6Disponible dentro de 50 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.BakuSilver.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.BakuSilver.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra BakuSilver de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Acciones.BakuSilver} to enchanted book named "&8&o(S+D) &3Ataque Rapido &f/ &8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &5CastBaku"
- set {Invocacion.Eliminar.BakuSilver} to paper named "&cEliminar BakuSilver"
- give {Invocacion.Eliminar.BakuSilver} to player
- give {Invocacion.Acciones.BakuSilver} to player
- set {Invocacion.Activacion.BakuSilver.%player%} to true
- set {Invocacion.Esperando.BakuSilver.%player%} to true
- set {_npcsombra} to a citizen with name "&dBaku %player%" and entity type "ZOMBIE"
- spawn citizen {_npcsombra} at location of player
- set {_npcid} to id of npc {_npcsombra}
- set {Invocacion.Residual.BakuSilver.%player%} to {_npcsombra}
- wait 1 tick
- apply invisibility to citizen {_npcid} for 99999 seconds
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- set citizen {_npcid}'s helmet slot to soul sand named "BAKU"
- set citizen {_npcid} max health to 200
- heal citizen {_npcid}
- apply speed 4 to citizen {_npcid} for 90 minutes
- apply strength 7 to citizen {_npcid} for 90 minutes
- apply regeneration 2 to citizen {_npcid} for 90 minutes
- apply resistance 2 to citizen {_npcid} for 90 minutes
- on right click:
- if player's tool is {Invocacion.Acciones.BakuSilver}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dBaku %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.AtaqueRapidoBaku.%player%} is not set:
- set {Invocacion.AtaqueRapidoBaku.%player%} to 0
- if {Invocacion.AtaqueRapidoBaku.%player%} is less than 1:
- set {Invocacion.AtaqueRapidoBaku.%player%} to 10
- force the npc {Invocacion.Residual.BakuSilver.%player%} to attack targeted entity with aggressive state true
- teleport npc {Invocacion.Residual.BakuSilver.%player%} to location of target
- make player damage target by 2
- send "&6[Invocacion] &f¡Ataque Rapido!" to player
- send "&6[Invocacion] &f¡Ataque Rapido!" to target
- while {Invocacion.AtaqueRapidoBaku.%player%} is more than 0:
- subtract 1 from {Invocacion.AtaqueRapidoBaku.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.AtaqueRapidoBaku.%player%}%&7&os )" to player
- stop
- else:
- force the npc {Invocacion.Residual.BakuSilver.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.BakuSilver}:
- delete npc {Invocacion.Residual.BakuSilver.%player%}
- delete {Invocacion.AtaqueRapidoBaku.%player%}
- delete {Invocacion.Residual.BakuSilver.%player%}
- delete {Invocacion.JutsuBaku.%player%}
- remove {Invocacion.Eliminar.BakuSilver} from player's inventory
- remove {Invocacion.Acciones.BakuSilver} from player's inventory
- set {Invocacion.Esperando.BakuSilver.%player%} to false
- set {Invocacion.Activacion.BakuSilver.%player%} to true
- if player's tool is {Invocacion.Acciones.BakuSilver}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dBaku %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.JutsuBaku.%player%} is not set:
- set {Invocacion.JutsuBaku.%player%} to 0
- if {Invocacion.JutsuBaku.%player%} is less than 1:
- set {Invocacion.JutsuBaku.%player%} to 150
- force the npc {Invocacion.Residual.BakuSilver.%player%} to attack targeted entity with aggressive state true
- make player run command "/cast Baku" as op
- make player run command "/cast BakuF" as op
- send "&6[Invocacion] &f¡JutsuBaku!" to player
- send "&6[Invocacion] &f¡JutsuBaku!" to target
- while {Invocacion.JutsuBaku.%player%} is more than 0:
- subtract 1 from {Invocacion.JutsuBaku.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.JutsuBaku.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&dBaku %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Residual.BakuSilver.%player%} to attack targeted entity with aggressive state true
- command /Dokis [<text>]:
- permission: Dokis
- cooldown: 90 seconds
- cooldown message: &6Disponible dentro de 90 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Dokis.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.Dokis.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Dokis de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Acciones.Dokis} to enchanted book named "&8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &2Robo de Chakra"
- set {Invocacion.Eliminar.Dokis} to paper named "&cEliminar Dokis"
- give {Invocacion.Eliminar.Dokis} to player
- give {Invocacion.Acciones.Dokis} to player
- set {Invocacion.Activacion.Dokis.%player%} to true
- set {Invocacion.Esperando.Dokis.%player%} to true
- set {_npcsombra} to a citizen with name "&eDokis %player%" and entity type "ZOMBIE"
- spawn citizen {_npcsombra} at location of player
- set {_npcid} to id of npc {_npcsombra}
- set {Invocacion.Residual.Dokis.%player%} to {_npcsombra}
- wait 1 tick
- apply invisibility to citizen {_npcid} for 99999 seconds
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- set citizen {_npcid}'s helmet slot to soul sand named "DOKI"
- set citizen {_npcid} max health to 200
- heal citizen {_npcid}
- apply speed 7 to citizen {_npcid} for 90 minutes
- apply strength 4 to citizen {_npcid} for 90 minutes
- apply resistance 3 to citizen {_npcid} for 90 minutes
- on right click:
- if player's tool is {Invocacion.Acciones.Dokis}:
- force the npc {Invocacion.Residual.Dokis.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.Dokis}:
- delete npc {Invocacion.Residual.Dokis.%player%}
- delete {Invocacion.Residual.Dokis.%player%}
- delete {Invocacion.RoboChakraDokis.%player%}
- remove {Invocacion.Eliminar.Dokis} from player's inventory
- remove {Invocacion.Acciones.Dokis} from player's inventory
- set {Invocacion.Esperando.Dokis.%player%} to false
- set {Invocacion.Activacion.Dokis.%player%} to true
- if player's tool is {Invocacion.Acciones.Dokis}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&eDokis %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.RoboChakraDokis.%player%} is not set:
- set {Invocacion.RoboChakraDokis.%player%} to 0
- if {Invocacion.RoboChakraDokis.%player%} is less than 1:
- set {Invocacion.RoboChakraDokis.%player%} to 180
- force the npc {Invocacion.Residual.Dokis.%player%} to attack targeted entity with aggressive state true
- send "&6[Invocacion] &f¡Robo de Chakra!" to player
- make console execute command "/cast teach %player% robodokimulti"
- make player execute command "/cast robodokimulti"
- make console execute command "/cast forget %player% robodokimulti"
- send "&6[Invocacion] &f¡Robo de Chakra!" to target
- while {Invocacion.RoboChakraDokis.%player%} is more than 0:
- subtract 1 from {Invocacion.RoboChakraDokis.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.RoboChakraDokis.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&eDokis %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Residual.Dokis.%player%} to attack targeted entity with aggressive state true
- command /Gamabunta [<text>]:
- permission: Gamabunta
- cooldown: 90 seconds
- cooldown message: &6Disponible dentro de 90 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Gamabunta.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.Gamabunta.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Gamabunta de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Gamabunta.%player%} to a citizen with name "&dGamabunta %player%" and entity type "PIG_ZOMBIE"
- set {Invocacion.Acciones.Gamabunta} to enchanted book named "&8&o(S+D) &9Aceite de Sapo &f/ &8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &aSalto Rapido"
- set {Invocacion.Eliminar.Gamabunta} to paper named "&cEliminar Gamabunta"
- give {Invocacion.Eliminar.Gamabunta} to player
- spawn citizen {Invocacion.Gamabunta.%player%} at location of player
- set {Invocacion.Activacion.Gamabunta.%player%} to false
- set {Invocacion.Esperando.Gamabunta.%player%} to true
- set {_npcid} to id of npc {Invocacion.Gamabunta.%player%}
- wait 1 tick
- apply invisibility to citizen {_npcid} for 99999 seconds
- set citizen {_npcid}'s helmet slot to soul sand named "SAPO GIGANTE"
- on right click:
- if player's tool is {Invocacion.Acciones.Gamabunta}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dGamabunta %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.AceiteGamabunta.%player%} is not set:
- set {Invocacion.AceiteGamabunta.%player%} to 0
- if {Invocacion.AceiteGamabunta.%player%} is less than 1:
- set {Invocacion.AceiteGamabunta.%player%} to 50
- loop all entities in radius 15 around {Invocacion.Residual.Gamabunta.%player%}:
- remove slowness from loop-entity
- send "&6[Invocacion]&f ¡Aceite de Sapo!" to loop-entities
- apply slowness 5 to the loop-entity for 25 seconds
- wait 1 tick
- remove slowness from the player
- remove slowness from {Invocacion.Residual.Gamabunta.%player%}
- while {Invocacion.AceiteGamabunta.%player%} is more than 0:
- subtract 1 from {Invocacion.AceiteGamabunta.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.AceiteGamabunta.%player%}%&7&os )" to player
- stop
- else:
- force the npc {Invocacion.Gamabunta.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.Gamabunta}:
- delete npc {Invocacion.Gamabunta.%player%}
- delete {Invocacion.Residual.Gamabunta.%player%}
- delete {Invocacion.Gamabunta.%player%}
- delete {Invocacion.SaltoRapidoGamabunta.%player%}
- remove {Invocacion.Eliminar.Gamabunta} from player's inventory
- remove {Invocacion.Acciones.Gamabunta} from player's inventory
- set {Invocacion.Esperando.Gamabunta.%player%} to false
- set {Invocacion.Activacion.Gamabunta.%player%} to true
- if player's tool is {Invocacion.Acciones.Gamabunta}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dGamabunta %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.SaltoRapidoGamabunta.%player%} is not set:
- set {Invocacion.SaltoRapidoGamabunta.%player%} to 0
- if {Invocacion.SaltoRapidoGamabunta.%player%} is less than 1:
- set {Invocacion.SaltoRapidoGamabunta.%player%} to 70
- make player damage target by 6
- teleport npc {Invocacion.Residual.Gamabunta.%player%} to location of target
- make target run command "/particle largeexplode ~1 ~ ~1 2 0.1 2 0.1 17 normal" as op
- send "&6[Invocacion] &f¡Salto Rapido!" to player
- send "&6[Invocacion] &f¡Salto Rapido!" to target
- force the npc {Invocacion.Gamabunta.%player%} to attack targeted entity with aggressive state true
- while {Invocacion.SaltoRapidoGamabunta.%player%} is more than 0:
- subtract 1 from {Invocacion.SaltoRapidoGamabunta.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.SaltoRapidoGamabunta.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&dGamabunta %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Gamabunta.%player%} to attack targeted entity with aggressive state true
- on rightclick on entity:
- if clicked entity is a citizen:
- if name of clicked entity is equal to "&dGamabunta %player%":
- if {Invocacion.Activacion.Gamabunta.%player%} is false:
- set {Invocacion.Activacion.Gamabunta.%player%} to true
- give {Invocacion.Acciones.Gamabunta} to player
- wait 1 tick
- make player run command "/npc sel" as op
- make player run command "/npc owner %player%" as op
- make player run command "/npc vulnerable" as op
- set {Invocacion.Residual.Gamabunta.%player%} to clicked entity
- loop 2 times:
- set helmet of clicked entity to soul sand named "SAPO GIGANTE"
- set leggings of clicked entity to iron leggings
- set chestplate of clicked entity to iron chestplate
- set chestplate of clicked entity to iron boots
- apply strength 6 to citizen {_npcid} for 90 minutes
- apply speed 6 to citizen {_npcid} for 90 minutes
- apply jump boost 2 to citizen {_npcid} for 90 minutes
- remove slowness from the clicked entity
- apply resistance 2 to citizen {_npcid} for 90 minutes
- apply fire resistance 5 to citizen {_npcid} for 90 minutes
- set the health of clicked entity to 110
- set citizen {_npcid} max health to 110
- #
- command /Babosa [<text>]:
- permission: Babosa
- cooldown: 90 seconds
- cooldown message: &6Disponible dentro de 90 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Babosa.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.Babosa.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Babosa de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Babosa.%player%} to a citizen with name "&dBabosa %player%" and entity type "PIG_ZOMBIE"
- set {Invocacion.Acciones.Babosa} to enchanted book named "&8&o(S+D) &dCurar &f/ &8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &2Acido"
- set {Invocacion.Eliminar.Babosa} to paper named "&cEliminar Babosa"
- give {Invocacion.Eliminar.Babosa} to player
- spawn citizen {Invocacion.Babosa.%player%} at location of player
- set {Invocacion.Activacion.Babosa.%player%} to false
- set {Invocacion.Esperando.Babosa.%player%} to true
- set {_npcid} to id of npc {Invocacion.Babosa.%player%}
- wait 1 tick
- apply invisibility to citizen {_npcid} for 99999 seconds
- set citizen {_npcid}'s helmet slot to soul sand named "BABOSA"
- on right click:
- if player's tool is {Invocacion.Acciones.Babosa}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dBabosa %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if distance between targeted entity and {Invocacion.Residual.Babosa.%player%} is smaller than 24:
- force the npc {Invocacion.Babosa.%player%} to follow target with aggressive state false
- loop 50 times:
- if distance between targeted entity and {Invocacion.Residual.Babosa.%player%} is smaller than 4:
- wait 1.5 second
- remove instant health from target
- apply instant health 3 to target for 1 seconds
- send "&6[Invocacion] &f Tu babosa curo a &d%target%" to player
- show 50 "hearts" particles at location of target for target offset by 0.4, 0.7, 0.4
- wait 1 second
- else:
- force the npc {Invocacion.Babosa.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.Babosa}:
- delete npc {Invocacion.Babosa.%player%}
- delete {Invocacion.Residual.Babosa.%player%}
- delete {Invocacion.Babosa.%player%}
- delete {Invocacion.AcidoBabosa.%player%}
- remove {Invocacion.Eliminar.Babosa} from player's inventory
- remove {Invocacion.Acciones.Babosa} from player's inventory
- set {Invocacion.Esperando.Babosa.%player%} to false
- set {Invocacion.Activacion.Babosa.%player%} to true
- if player's tool is {Invocacion.Acciones.Babosa}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&dBabosa %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.AcidoBabosa.%player%} is not set:
- set {Invocacion.AcidoBabosa.%player%} to 0
- if {Invocacion.AcidoBabosa.%player%} is less than 1:
- set {Invocacion.AcidoBabosa.%player%} to 35
- force the npc {Invocacion.Babosa.%player%} to attack targeted entity with aggressive state true
- make player damage target by 3
- apply nausea 4 to the target for 2 minute
- apply weakness 10 to the target for 3 minute
- apply slowness 12 to the target for 2 minutes
- apply instant damage 1 to the target for 7 seconds
- send "&6[Invocacion] &f¡Acido Corrosivo!" to player
- send "&6[Invocacion] &f¡Acido Corrosivo!" to target
- while {Invocacion.AcidoBabosa.%player%} is more than 0:
- subtract 1 from {Invocacion.AcidoBabosa.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.AcidoBabosa.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&dBabosa %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Babosa.%player%} to attack targeted entity with aggressive state true
- on rightclick on entity:
- if clicked entity is a citizen:
- if name of clicked entity is equal to "&dBabosa %player%":
- if {Invocacion.Activacion.Babosa.%player%} is false:
- set {Invocacion.Activacion.Babosa.%player%} to true
- give {Invocacion.Acciones.Babosa} to player
- wait 1 tick
- make player run command "/npc sel" as op
- make player run command "/npc owner %player%" as op
- make player run command "/npc vulnerable" as op
- set {Invocacion.Residual.Babosa.%player%} to clicked entity
- loop 2 times:
- apply fire resistance 5 to citizen {_npcid} for 90 minutes
- set helmet of clicked entity to soul sand named "BABOSA"
- set leggings of clicked entity to iron leggings
- set chestplate of clicked entity to iron chestplate
- set chestplate of clicked entity to iron boots
- apply regeneration 5 to citizen {_npcid} for 90 minutes
- apply resistance 4 to citizen {_npcid} for 90 minutes
- apply slowness 1 to citizen {_npcid} for 90 minutes
- set the health of clicked entity to 150
- set citizen {_npcid} max health to 150
- #
- command /Almeja [<text>]:
- permission: Almeja
- cooldown: 540 seconds
- cooldown message: &6Disponible dentro de 540 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Almeja.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.Almeja.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Almeja de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Almeja.%player%} to a citizen with name "&dAlmeja %player%" and entity type "ZOMBIE"
- set {Invocacion.Acciones.Almeja} to enchanted book named "&8&o(D) &3Clones de Sombra / &8&o(I) &cEfecto de Invisiblidad &f/ &8&o(S+I) &5Mover Almeja"
- set {Invocacion.Eliminar.Almeja} to paper named "&cEliminar Almeja"
- give {Invocacion.Eliminar.Almeja} to player
- give {Invocacion.Acciones.Almeja} to player
- spawn citizen {Invocacion.Almeja.%player%} at location of player
- set {Invocacion.Activacion.Almeja.%player%} to true
- set {Invocacion.Esperando.Almeja.%player%} to true
- set {_npcid} to id of npc {Invocacion.Almeja.%player%}
- wait 1 tick
- apply invisibility to citizen {_npcid} for 99999 seconds
- set citizen {_npcid}'s helmet slot to soul sand named "ALMEJA"
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- apply regeneration 1 to citizen {_npcid} for 90 minutes
- apply slowness 80 to citizen {_npcid} for 90 minutes
- set citizen {_npcid} max health to 300
- heal citizen {_npcid}
- on right click:
- if player's tool is {Invocacion.Acciones.Almeja}:
- if {Invocacion.AlmejaClones.%player%} is not set:
- set {Invocacion.AlmejaClones.%player%} to 0
- if {Invocacion.AlmejaClones.%player%} is less than 1:
- set {Invocacion.AlmejaClones.%player%} to 50
- make player run command "/clonalme" as op
- send "&6[Invocacion] &f¡Clones!" to player
- while {Invocacion.AlmejaClones.%player%} is more than 0:
- subtract 1 from {Invocacion.AlmejaClones.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.AlmejaClones.%player%}%&7&os )" to player
- stop
- command /clonalme:
- permission: Almeja
- trigger:
- make player run command "/npc create &7Slimepegajoso" as op
- make player run command "/npc vulnerable" as op
- make player run command "/npc skin Diamond4Life" as op
- make player run command "/trait Sentinel" as op
- make player run command "/sentinel addignore npcs" as op
- make player run command "/sentinel range 50" as op
- make player run command "/sentinel chaserange 70" as op
- make player run command "/sentinel realistic trues" as op
- make player run command "/sentinel invincible false" as op
- make player run command "/sentinel reach 4" as op
- make player run command "/sentinel speed 3" as op
- make player run command "/sentinel armor 0.4" as op
- make player run command "/sentinel health 35" as op
- make player run command "/sentinel guard %player%" as op
- make player run command "/sentinel damage 5" as op
- make player run command "/sentinel attackrate 2" as op
- make player run command "/sentinel addtarget player" as op
- wait 4 ticks
- make player run command "/npc copy" as op
- make player run command "/npc copy" as op
- on left click:
- if player's tool is {Invocacion.Eliminar.Almeja}:
- delete npc {Invocacion.Almeja.%player%}
- delete {Invocacion.Residual.Almeja.%player%}
- delete {Invocacion.Almeja.%player%}
- delete {Invocacion.EnCombate.%player%}
- delete {Invocacion.AlmejaMover.%player%}
- remove {Invocacion.Eliminar.Almeja} from player's inventory
- remove {Invocacion.Acciones.Almeja} from player's inventory
- set {Invocacion.Esperando.Almeja.%player%} to false
- set {Invocacion.Activacion.Almeja.%player%} to true
- reveal player from all players
- if player's tool is {Invocacion.Acciones.Almeja}:
- if player is sneaking:
- if {Invocacion.AlmejaMover.%player%} is not set:
- set {Invocacion.AlmejaMover.%player%} to 0
- if {Invocacion.AlmejaMover.%player%} is less than 1:
- set {Invocacion.AlmejaMover.%player%} to 190
- teleport npc {Invocacion.Residual.Almeja.%player%} to location of player
- send "&6[Invocacion] &f¡Mover Almeja!" to player
- while {Invocacion.AlmejaMover.%player%} is more than 0:
- subtract 1 from {Invocacion.AlmejaMover.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.AlmejaMover.%player%}%&7&os )" to player
- stop
- else:
- make player run command "/almeinvi" as op
- command /almeinvi:
- cooldown: 190 seconds
- permission: Almeja
- trigger:
- set {Invocacion.InvisiblidadAlmeja.%player%} to true
- hide player from all players
- set {Invocacion.EnCombate.%player%} to false
- send "&6[Invocacion]&f Efecto Activado"
- on damage:
- if {Invocacion.EnCombate.%attacker%} is false:
- set {Invocacion.EnCombate.%attacker%} to true
- reveal attacker from all players
- wait 9 seconds
- set {Invocacion.EnCombate.%attacker%} to false
- every 3 seconds:
- loop all players:
- if distance between loop-player and {Invocacion.Residual.Babosa.%loop-player%} is smaller than 5:
- make loop-player run command "/cast RegeneracionBabosa" as op
- stop
- every 1 second:
- loop all players:
- if distance between loop-player and {Invocacion.Residual.Almeja.%loop-player%} is smaller than 23:
- if {Invocacion.EnCombate.%loop-player%} is false:
- hide loop-player from all players
- stop
- else:
- if {Invocacion.EnCombate.%loop-player%} is true:
- reveal loop-player from all players
- stop
- on death:
- if name of victim contains "&dAlmeja":
- loop all players:
- if {Invocacion.Activacion.Almeja.%loop-player%} is true:
- delete npc {Invocacion.Almeja.%loop-player%}
- delete {Invocacion.Residual.Almeja.%loop-player%}
- delete {Invocacion.Almeja.%loop-player%}
- delete {Invocacion.EnCombate.%loop-player%}
- reveal loop-player from all players
- delete {Invocacion.AlmejaMover.%loop-player%}
- remove {Invocacion.Eliminar.Almeja} from loop-player's inventory
- remove {Invocacion.Acciones.Almeja} from loop-player's inventory
- set {Invocacion.Esperando.Almeja.%loop-player%} to false
- set {Invocacion.Activacion.Almeja.%loop-player%} to true
- delete {Invocacion.InvisiblidadAlmeja.%loop-player%}
- send "&6[Invocacion]&f Tu &dAlmeja&f acaba de despawnear a manos de &6%attacker%" to loop-player
- #King
- on death:
- if name of victim contains "&eKamatari":
- loop all players:
- if {Invocacion.Activacion.Kamatari.%loop-player%} is true:
- delete npc {Invocacion.Kamatari.%loop-player%}
- delete {Invocacion.Residual.Kamatari.%loop-player%}
- delete {Invocacion.Kamatari.%loop-player%}
- delete {Invocacion.DecapitacionKamatari.%loop-player%}
- remove {Invocacion.Eliminar.Kamatari} from loop-player's inventory
- remove {Invocacion.Acciones.Kamatari} from loop-player's inventory
- set {Invocacion.Esperando.Kamatari.%loop-player%} to false
- set {Invocacion.Activacion.Kamatari.%loop-player%} to true
- send "&6[Invocacion]&f Tu &eKamatari&f acaba de despawnear a manos de &6%attacker%" to loop-player
- on damage:
- if name of attacker contains "&eKamatari":
- chance of 5%:
- send "&6[Invocacion] &fMordida al Cuello" to victim
- make attacker damage victim by 15
- command /Kamatari [<text>]:
- permission: Kamatari
- cooldown: 50 seconds
- cooldown message: &6Disponible dentro de 50 segundos.
- trigger:
- if arg 1 is "Reparar":
- set {Invocacion.Esperando.Kamatari.%player%} to false
- send "&aReparar aplicado"
- if arg 1 contains "Invocar":
- if {Invocacion.Esperando.Kamatari.%player%} is true:
- send "&c[Error] &fNo puedes invocar otra Kamatari de este tipo mientras tengas una ya Invocada"
- else:
- set {Invocacion.Kamatari.%player%} to a citizen with name "&eKamatari %player%" and entity type "ZOMBIE"
- set {Invocacion.Acciones.Kamatari} to enchanted book named "&8&o(D) &dSeguir &f/ &8&o(I) &cAtacar &f/ &8&o(S+I) &3Decapitacion Rapida"
- set {Invocacion.Eliminar.Kamatari} to paper named "&cEliminar Kamatari"
- give {Invocacion.Eliminar.Kamatari} to player
- give {Invocacion.Acciones.Kamatari} to player
- spawn citizen {Invocacion.Kamatari.%player%} at location of player
- set {Invocacion.Activacion.Kamatari.%player%} to true
- set {Invocacion.Esperando.Kamatari.%player%} to true
- set {_npcid} to id of npc {Invocacion.Kamatari.%player%}
- make console execute command "/npc sel %{_npcid}%"
- make console execute command "/npc vulnerable"
- wait 1 tick
- apply invisibility to citizen {_npcid} for 99999 seconds
- set citizen {_npcid}'s helmet slot to soul sand named "KAMATARI"
- set citizen {_npcid} max health to 70
- heal citizen {_npcid}
- apply speed 5 to citizen {_npcid} for 90 minutes
- apply strength 4 to citizen {_npcid} for 90 minutes
- apply resistance 2 to citizen {_npcid} for 90 minutes
- on right click:
- if player's tool is {Invocacion.Acciones.Kamatari}:
- force the npc {Invocacion.Kamatari.%player%} to follow player with aggressive state false
- on left click:
- if player's tool is {Invocacion.Eliminar.Kamatari}:
- delete npc {Invocacion.Kamatari.%player%}
- delete {Invocacion.Residual.Kamatari.%player%}
- delete {Invocacion.Kamatari.%player%}
- delete {Invocacion.DecapitacionKamatari.%player%}
- remove {Invocacion.Eliminar.Kamatari} from player's inventory
- remove {Invocacion.Acciones.Kamatari} from player's inventory
- set {Invocacion.Esperando.Kamatari.%player%} to false
- set {Invocacion.Activacion.Kamatari.%player%} to true
- if player's tool is {Invocacion.Acciones.Kamatari}:
- if player is sneaking:
- if targeted entity is set:
- if name of targeted entity is "&eKamatari %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- if {Invocacion.DecapitacionKamatari.%player%} is not set:
- set {Invocacion.DecapitacionKamatari.%player%} to 0
- if {Invocacion.DecapitacionKamatari.%player%} is less than 1:
- set {Invocacion.DecapitacionKamatari.%player%} to 100
- force the npc {Invocacion.Kamatari.%player%} to attack targeted entity with aggressive state true
- teleport npc {Invocacion.Residual.Kamatari.%player%} to location of target
- make player damage target by 10
- send "&6[Invocacion] &f¡Decapitacion Rapida!" to player
- send "&6[Invocacion] &f¡Decapitacion Rapida!" to target
- while {Invocacion.DecapitacionKamatari.%player%} is more than 0:
- subtract 1 from {Invocacion.DecapitacionKamatari.%player%}
- wait 1 second
- else:
- send "&c[Error]&f Habilidad en Enfriamiento &7&o( %{Invocacion.DecapitacionKamatari.%player%}%&7&os )" to player
- stop
- else:
- if targeted entity is set:
- if name of targeted entity is "&eKamatari %player%":
- send "&c[Error] &fEstas apuntando a tu Invocación."
- stop
- else:
- force the npc {Invocacion.Kamatari.%player%} to attack targeted entity with aggressive state true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement