SmaRtiX Posté(e) le 13 janvier 2017 Posté(e) le 13 janvier 2017 Bonjour, Bonsoir Je cherche un skript avec des Nouveaux Enchantements qui sont disponibles sur les Épée. Vous pouvez maintenant obtenir de nouveaux Enchantements sur vos Épées tel que : -Poison : Inflige l'effet de potion de Poison au joueur touché. -Wither : Inflige l'effet du Poison du Wither au joueur touché. -Famine : Enlève de la nourriture dans la barre de faim au joueur touché. -Aveugle : Inflige l'effet de Confusion au joueur touché. -Nausée : Inflige l'effet de nausée au joueur touché. Vous pouvez obtenir différents niveaux sur les enchantement si dessus ( si vous avez du Nausée V le temps de Nausée sera plus long que si vous avez du Nausée I ) :)
cercus Posté(e) le 16 janvier 2017 Posté(e) le 16 janvier 2017 Je ne sais pas si c'est ca que tu veux (j'ai fais uniquement le wither, a toi de faire le reste sur le même exemple, j'ai fais un menu GUI pour plus de simplicité) : Command /enchantements: permission: enchantements.sk trigger: open chest with 1 rows named "Les enchantements" to player wait 3 ticks format slot 0 of player with 1 wither skeleton head named "Wither I (10 niveaux)" with lore "Dure 10 secondes" to run [make player execute command "/WitherI"] format slot 1 of player with 1 wither skeleton head named "Wither II (15 niveaux)" with lore "Dure 7 secondes" to run [make player execute command "/WitherII"] Command /WitherI: permission: enchantWitherI.sk permission message: &cVous n'avez pas la permission ! trigger: if player's level is greater than or equal to 10: if player's tool is a wooden sword: set player's tool to wooden sword with lore "Wither I" player's tool is a stone sword: set player's tool to stone sword with lore "Wither I" player's tool is a diamond sword: set player's tool to diamond sword with lore "Wither I" player's tool is a iron sword: set player's tool to iron sword with lore "Wither I" player's tool is a golden sword: set player's tool to golden sword with lore "Wither I" else: send "&cVous n'avez pas assez de level" to player Command /WitherII: permission: enchantWitherII.sk permission message: &cVous n'avez pas la permission ! trigger: if player's level is greater than or equal to 15: if player's tool is a wooden sword: set player's tool to wooden sword with lore "Wither II" player's tool is a stone sword: set player's tool to stone sword with lore "Wither II" player's tool is a diamond sword: set player's tool to diamond sword with lore "Wither II" player's tool is a iron sword: set player's tool to iron sword with lore "Wither II" player's tool is a golden sword: set player's tool to golden sword with lore "Wither II" else: send "&cVous n'avez pas assez de level" to player On damage: attacker is holding sword with lore "Wither I": apply potion of wither 1 to the victim for 10 seconds attacker is holding sword with lore "Wither II": apply potion of wither 2 to the victim for 7 seconds
Messages recommandés