Dlaczego można używać amulety kilka razy gdy już go użyłem a effect jeszcze nie przestał działać.
Chciałbym aby po użyciu trzeba zaczekać aż effect przestanie działać i dopiero można było by go użyc.
Kodzik:
Zabraniam kopiowania kodu oraz udostępniania go.
# Amulet Silyon rightclick: if name of player's tool is "&4Amulet sily": send "&4Jestes bardzo silny przez 7 minut! " execute console command "effect %player% INCREASE_DAMAGE 420" wait 420 second send "&4Sila cie opuscila." remove strength from the player# Amulet Szybkoscion rightclick: if name of player's tool is "&3Amulet szybkosci": send "&4Jestes szybszy przez 7 minut! " execute console command "effect %player% SPEED 420 1" wait 420 second send "&4Odebrano ci moc szybkosci." remove speed from the player# Amulet Widzeniaon rightclick: if name of player's tool is "&5Amulet widzenia": send "&4Widzisz teraz jasniej przez 7 minut! " execute console command "effect %player% NIGHT_VISION 420" wait 420 second send "&4Odebrano ci widzenie w ciemosci." remove night vision from the player# Amulet Bogowon rightclick: if name of player's tool is "&6Amulet bogow": send "&4Jestes niesmiertelny przez 10 sekund! " execute console command "god %player%" wait 10 second send "&4Odebrano ci niesmiertelnosc." execute console command "god %player%" remove a nether star of unbreaking 10 named "&6Amulet Bogow" from the player# Amulet Regeneracjion rightclick: if name of player's tool is "&cAmulet regeneracji": send "&4Regenerujesz swoje zycie przez 7 minut! " execute console command "effect %player% REGENERATION 420 1" wait 420 second send "&4Koniec regeneracji!" remove regeneration from the player#===================== Komenda amulet =====================#command /amulet [<text>]: trigger: if player has permission "amulet": if arg 1 is not set: send "&9========== &cAmulety &9==========" send "" send "&8> &7/&4amulet sily" send "&8> &7/&3amulet szybkosci" send "&8> &7/&5amulet widzenia" send "&8> &7/&6amulet bogow" send "&8> &7/&camulet regeneracji" send "" send "&9=============================" if arg 1 is "sily": if player has permission "amulet.sily": give a blaze rod of unbreaking 10 named "&4Amulet sily" to the player if arg 1 is "szybkosci": if player has permission "amulet.szybkosci": give a blaze powder of unbreaking 10 named "&3Amulet szybkosci" to the player if arg 1 is "widzenia": if player has permission "amulet.widzenia": give a magma cream of unbreaking 10 named "&5Amulet widzenia" to the player if arg 1 is "Bogow": if player has permission "amulet.bogow": give a nether star of unbreaking 10 named "&6Amulet bogow" to the player if arg 1 is "Regeneracji": if player has permission "amulet.regeneracji": give a apple of unbreaking 10 named "&cAmulet regeneracji" to the player
Pytanie
RAINMAN 0
Dlaczego można używać amulety kilka razy gdy już go użyłem a effect jeszcze nie przestał działać.
Chciałbym aby po użyciu trzeba zaczekać aż effect przestanie działać i dopiero można było by go użyc.
Kodzik:
Zabraniam kopiowania kodu oraz udostępniania go.
Edytowane przez RAINMANOdnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi