ChayEdit Posté(e) le 11 juin 2016 Posté(e) le 11 juin 2016 Bonjour! J'aimerai que les potions qui s'appellent "Potion Strenght" donnent Strenght II pendant 8 minutes et que "Potion Speed" donnent Speed 2 pendant 8 minutes. Je voudrais faire ceci pour un mode GApple comme sur Badlion/Kohi/CTLServ... Merci!
Soufreur78 Posté(e) le 11 juin 2016 Posté(e) le 11 juin 2016 Essai : on consume potion: if name of event-item is "Potion Strenght": cancel event apply strenght 2 to the player for 8 minute remove 1 potion with name "Potion Strenght" from player's inventory if name of event-item is "Potion Speed": cancel event apply speed 2 to the player for 8 minute remove 1 potion with name "Potion Speed" from player's inventory
ChayEdit Posté(e) le 29 juillet 2016 Auteur Posté(e) le 29 juillet 2016 Essai : on consume potion: if name of event-item is "Potion Strenght": cancel event apply strenght 2 to the player for 8 minute remove 1 potion with name "Potion Strenght" from player's inventory if name of event-item is "Potion Speed": cancel event apply speed 2 to the player for 8 minute remove 1 potion with name "Potion Speed" from player's inventory Désolé de la réponse en retard et non ça ne marche pas..
Xelef Posté(e) le 29 juillet 2016 Posté(e) le 29 juillet 2016 Bonsoir, Voilà le code qui marche ! #Made by Xelef on drinking a potion: if event-item's name is "Potion Strength": cancel event apply strength 2 to the player for 8 minutes wait 1 tick remove event-item from player's inventory if event-item's name is "Potion Speed": cancel event apply speed 2 to the player for 8 minutes wait 1 tick remove event-item from player's inventory N'hésites pas à laisser un petit "j'aime" si j'ai pu t'aider ! :D Bonne soirée ! 1
Messages recommandés