SHOW:
|
|
- or go back to the newest paste.
1 | - | on rightclick holding a bow: |
1 | + | on rightclick holding a sign: |
2 | - | name of held item contains "&6&lAcrobaticBow" |
2 | + | name of held item contains "&6&lpush" |
3 | - | if {%player%.CoolDown} is false: |
3 | + | if {%player%.push.CoolDown} is false: |
4 | - | shoot a arrow at speed {AcrobaticBow.Speed} |
4 | + | push the player forwards at speed 2.5 |
5 | - | push the player backwards at speed 2.5 |
5 | + | set {%player%.push.cooldown} to true |
6 | - | set {%player%.cooldown} to true |
6 | + | set {%player%.push.cooldown.time} to 5 |
7 | - | set {%player%.cooldown.time} to 5 |
7 | + | |
8 | set {%player%.push.cooldown.time} to 4 | |
9 | - | set {%player%.cooldown.time} to 4 |
9 | + | |
10 | set {%player%.push.cooldown.time} to 3 | |
11 | - | set {%player%.cooldown.time} to 3 |
11 | + | |
12 | set {%player%.push.cooldown.time} to 2 | |
13 | - | set {%player%.cooldown.time} to 2 |
13 | + | |
14 | set {%player%.push.cooldown.time} to 1 | |
15 | - | set {%player%.cooldown.time} to 1 |
15 | + | |
16 | set {%player%.push.cooldown} to false | |
17 | - | set {%player%.cooldown} to false |
17 | + | send "&6&lPush&cが使用可能になりました。" |
18 | - | send "&c[CoolDown]&6&lAcrobaticBow&cが使用可能になりました。" |
18 | + | set {%player%.push.cooldown.time} to 5 |
19 | - | set {%player%.cooldown.time} to 5 |
19 | + | |
20 | if {%player%.cooldown} is true: | |
21 | send "&c[CoolDown]&c&l%{%player%.push.cooldown.time}%&c秒で使用可能になります。" | |
22 | - | send "&c[CoolDown]&c&l%{%player%.cooldown.time}%&c秒で使用可能になります。" |
22 | + | |
23 | ||
24 | - | command /AcrobaticBowSpeed <number>: |
24 | + | |
25 | - | aliases: /abs |
25 | + | set {%player%.push.cooldown} to false |
26 | stop | |
27 | ||
28 | - | set {AcrobaticBow.Speed} to arg-1 |
28 | + | |
29 | set {%player%.push.cooldown} to false | |
30 | stop | |
31 | - | set {%player%.cooldown} to false |
31 | + | |
32 | command /abcooldown <player>: | |
33 | permission: skript.admin | |
34 | trigger: | |
35 | - | set {%player%.cooldown} to false |
35 | + | set {%arg 1%.push.cooldown} to false |
36 | stop |