Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- setstatus(player)
- on death
- function setstatus(p: player):
- set {_random.st} to random integer between 1 and 100
- if {_random.st} is between 1 and 3:
- set {status.%uuid of %{_p}%%} to "弱"
- else if {_random.st} is between 4 and 97:
- set {status.%uuid of %{_p}%%} to "普"
- else if {_random.st} is between 98 and 100:
- set {status.%uuid of %{_p}%%} to "強"
- function setjobs(p: player):
- set {_random.job} to random integer between 1 and 1000
- if {_random.job} is 1:
- set {Apjobs.%uuid of %{_p}%%} to "勇者"
- else if {_random.job} is 2:
- set {Apjobs.%uuid of %{_p}%%} to "賢者"
- else if {_random.job} is 3:
- set {Apjobs.%uuid of %{_p}%%} to "魔王"
- else if {_random.job} is 4:
- set {Apjobs.%uuid of %{_p}%%} to "聖女"
- else if {_random.job} is between 5 and 170:
- set {Apjobs.%uuid of %{_p}%%} to "鍛冶師"
- else if {_random.job} is between 171 and 337:
- set {Apjobs.%uuid of %{_p}%%} to "剣士"
- else if {_random.job} is between 338 and 504:
- set {Apjobs.%uuid of %{_p}%%} to "弓使い"
- else if {_random.job} is between 505 and 671:
- set {Apjobs.%uuid of %{_p}%%} to "魔法使い"
- else if {_random.job} is between 672 and 838:
- set {Apjobs.%uuid of %{_p}%%} to "武闘家"
- else if {_random.job} is between 839 and 1000:
- set {Apjobs.%uuid of %{_p}%%} to "アサシン"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement