Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {%player%.pps} = 1
- {%player%.effect} = 1
- every 2 tick:
- loop all players:
- add (0.1*{%loop-player%.pps}) to {%loop-player%.p}
- send action bar with text "&fポイント &a%{%loop-player%.nna::1}% &f秒速ポイント%{%loop-player%.pps}%" to loop-player
- command "/scoreboard players set %loop-player% pointa %floor(log({%loop-player%.p})*100)%"
- command "/expoa %{%loop-player%.p}% 1 %loop-player%"
- if {%loop-player%.pps} >= 1*10^10:
- set {%loop-player%.effect} to 0.5
- command /add <player> <number>:
- permission: skript.admin
- trigger:
- add {%arg-1%.pps}*arg-2 to {%arg-1%.p}
- command /buy:
- trigger:
- add (0.001*{%player%.p})^{%player%.effect} to {%player%.pps}
- message "ポイント収集機械を &a%0.001*{%player%.p}% &f個作りました。"
- set {%player%.p} to 0
- command /playerpoint <player>:
- trigger:
- message "ポイント : %{%arg%.p}% 秒速 : %{%arg%.pps}%" to player
- command /res <number> <integer>:
- trigger:
- if arg-2 <= 1:
- stop trigger
- set {_a} to arg-2
- if arg-1 is 1:
- if {%player%.p} >= 1000*arg-2:
- command "/give %player% log %{_a}%"
- remove 1000*arg-2 from {%player%.p}
- else:
- message "%1000*arg-2%必要"
- if arg-1 is 2:
- if {%player%.p} >= 10000*arg-2:
- command "/give %player% ingot_ingot %{_a}%"
- remove 10000*arg-2 from {%player%.p}
- else:
- message "%10000*arg-2%必要"
- if arg-1 is 3:
- if {%player%.p} >= 100000*arg-2:
- command "/give %player% gold_ingot %{_a}%"
- remove 100000*arg-2 from {%player%.p}
- else:
- message "%100000*arg-2%必要"
- if arg-1 is 4:
- if {%player%.p} >= 10000000*arg-2:
- command "/give %player% diamond %{_a}%"
- remove 10000000*arg-2 from {%player%.p}
- else:
- message "%10000000*arg-2%必要"
- if arg-1 is 5:
- if {%player%.p} >= 10^10*arg-2:
- command "/give %player% hay_block %{_a}%"
- remove 10^10*arg-2 from {%player%.p}
- else:
- message "%arg-2%e10必要"
- if arg-1 is 6:
- if {%player%.p} >= 10^19*arg-2:
- command "/give %player% ender_pearl %{_a}%"
- remove 10^19*arg-2 from {%player%.p}
- else:
- message "%arg-2%e19必要"
- command /expoa <number> <integer> <player>:
- permission: skript.admin
- trigger:
- set {_hid} to arg-2
- if arg-1 is not 0:
- set {_exp1} to floor(log(arg-1))
- set {%arg-3%.nna::%{_hid}%} to "%arg-1/(10^{_exp1})%e%{_exp1}%"
- else:
- set {%arg-3%.nna::%{_hid}%} to 0
- command /setnumber <player> <number> <number>:
- permission: skript.admin
- trigger:
- if arg-3 is 1:
- set {%arg-1%.p} to arg-2
- else:
- set {%arg-1%.pps} to arg-2
Advertisement
Add Comment
Please, Sign In to add comment