-
Notifications
You must be signed in to change notification settings - Fork 0
/
stat-gui.sk
526 lines (420 loc) · 28.2 KB
/
stat-gui.sk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
#========================================================================================================
#스텟 GUI를 반환
function rpp_GetStatGUI(p:offlineplayer) :: inventory:
set {_inv} to chest with 3 row named rpp_StatGUI_GetTitle() # 호퍼 인벤토리 제작
set slot 11 of {_inv} to rpp_StatGUI_Sft_GetIcon({_p}) # 신속
set slot 12 of {_inv} to rpp_StatGUI_Ftl_GetIcon({_p})
set slot 13 of {_inv} to rpp_StatGUI_Ptn_GetIcon({_p})
set slot 14 of {_inv} to rpp_StatGUI_Skl_GetIcon({_p})
set slot 15 of {_inv} to rpp_StatGUI_Spr_GetIcon({_p})
return {_inv}
#=============================================================
#스텟 GUI의 이름을 반환
function rpp_StatGUI_GetTitle() :: string:
set {_title} to rpp_GetStatGUI_Title()
return "[ %{_title}% ]"
#=============================================================
#스텟 GUI의 신속 스텟 아이콘을 반환
function rpp_StatGUI_Sft_GetIcon(p:offlineplayer) :: item:
set {_type} to rpp_StatGUI_Sft_GetIcon_GetType()
set {_name} to rpp_StatGUI_Sft_GetIcon_GetName()
set {_lore::*} to rpp_StatGUI_Sft_GetIcon_GetLore({_p})
set {_icon} to {_type} named {_name}
set lore of {_icon} to {_lore::*}
return {_icon}
#스텟 GUI의 신속 스텟 아이콘의 타입을 반환
function rpp_StatGUI_Sft_GetIcon_GetType() :: item:
return rpp_GetStatGUI_Sft_Type()
#스텟 GUI의 신속 스텟 아이콘 이름을 반환
function rpp_StatGUI_Sft_GetIcon_GetName() :: string:
set {_name} to rpp_GetStatGUI_Sft_Name()
return "&8%{_name}%"
#스텟 GUI의 신속 스텟 아이콘 로어를 반환
function rpp_StatGUI_Sft_GetIcon_GetLore(p:offlineplayer) :: strings:
set {_point} to rpp_NumberFormat(rpp_GetPlayerStatPoint({_p}), 6, "&8&l", "&b&l") # 자릿수에 맞춰 문자열로 변환하여 반환 e.g) 00127
set {_stat} to rpp_NumberFormat(rpp_GetPlayerStat_Sft({_p}), 6, "&8&l", "&e&l")
set {_levelUpStat} to rpp_GetLevelUpPoint()
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &a&l신속" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l레벨&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &b&l남은 포인트" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_stat}%&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_point}%" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f&l※ &a&l신속 &f&l스텟으로.." to {_lore::*}
add " " to {_lore::*}
if rpp_GetState_Sft_Hp(): # 신속 스텟 체력 증가 상태가 true 일 때
set {_hp} to rpp_GetPlayerStat_Sft_Hp({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력&f&l이 &b%{_hp}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_HpR(): # 신속 스텟 체력 재생 증가 상태가 true 일 때
set {_hpr} to rpp_GetPlayerStat_Sft_HpR({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력 재생&f&l이 &b%{_hpr}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_Atk(): # 신속 스텟 공격력 증가 상태가 true 일 때
set {_atk} to rpp_GetPlayerStat_Sft_Atk({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &c&l공격력&f&l이 &b%{_atk}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_Def(): # 신속 스텟 방어력 증가 상태가 true 일 때
set {_def} to rpp_GetPlayerStat_Sft_Def({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &3&l방어력&f&l이 &b%{_def}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_Spd(): # 신속 스텟 이동속도 증가 상태가 true 일 때
set {_spd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Sft_Spd({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &a&l이동속도&f&l가 &b%{_spd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_CrC(): # 신속 스텟 치명타 확률 증가 상태가 true 일 때
set {_crc} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Sft_CrC({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 확률&f&l이 &b%{_crc}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_CrD(): # 신속 스텟 치명타 데미지 증가 상태가 true 일 때
set {_crd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Sft_CrD({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 데미지&f&l가 &b%{_crd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_CrCI(): # 신속 스텟 치명타 저항 증가 상태가 true 일 때
set {_crci} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Sft_CrCI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 저항&f&l이 &b%{_crci}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_DeP(): # 신속 스텟 방어력 관통 증가 상태가 true 일 때
set {_dep} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Sft_DeP({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통&f&l이 &b%{_dep}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Sft_DePI(): # 신속 스텟 방어력 관통 저항 증가 상태가 true 일 때
set {_depi} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Sft_DePI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통 저항&f&l이 &b%{_depi}%%% &f&l상승했습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &c&l※ TIP!" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&6&l좌클릭&f&l으로 스텟포인트를 &b&l1&f&l상승시킬 수 있습니다." to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&3&l우클릭&f&l으로 스텟포인트를 &b&l%{_levelUpStat}%&f&l상승시킬 수 있습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
return {_lore::*}
#=============================================================
#스텟 GUI의 치명 스텟 아이콘을 반환
function rpp_StatGUI_Ftl_GetIcon(p:offlineplayer) :: item:
set {_type} to rpp_StatGUI_Ftl_GetIcon_GetType()
set {_name} to rpp_StatGUI_Ftl_GetIcon_GetName()
set {_lore::*} to rpp_StatGUI_Ftl_GetIcon_GetLore({_p})
set {_icon} to {_type} named {_name}
set lore of {_icon} to {_lore::*}
return {_icon}
#스텟 GUI의 치명 스텟 아이콘의 타입을 반환
function rpp_StatGUI_Ftl_GetIcon_GetType() :: item:
return rpp_GetStatGUI_Ftl_Type()
#스텟 GUI의 치명 스텟 아이콘 이름을 반환
function rpp_StatGUI_Ftl_GetIcon_GetName() :: string:
set {_name} to rpp_GetStatGUI_Ftl_Name()
return "&8%{_name}%"
#스텟 GUI의 치명 스텟 아이콘 로어를 반환
function rpp_StatGUI_Ftl_GetIcon_GetLore(p:offlineplayer) :: strings:
set {_point} to rpp_NumberFormat(rpp_GetPlayerStatPoint({_p}), 6, "&8&l", "&b&l") # 자릿수에 맞춰 문자열로 변환하여 반환 e.g) 00127
set {_stat} to rpp_NumberFormat(rpp_GetPlayerStat_Ftl({_p}), 6, "&8&l", "&e&l")
set {_levelUpStat} to rpp_GetLevelUpPoint()
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l치명" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l레벨&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &b&l남은 포인트" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_stat}%&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_point}%" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f&l※ &e&l치명 &f&l스텟으로.." to {_lore::*}
add " " to {_lore::*}
if rpp_GetState_Ftl_Hp():
set {_hp} to rpp_GetPlayerStat_Ftl_Hp({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력&f&l이 &b%{_hp}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_HpR():
set {_hpr} to rpp_GetPlayerStat_Ftl_HpR({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력 재생&f&l이 &b%{_hpr}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_Atk():
set {_atk} to rpp_GetPlayerStat_Ftl_Atk({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &c&l공격력&f&l이 &b%{_atk}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_Def():
set {_def} to rpp_GetPlayerStat_Ftl_Def({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &3&l방어력&f&l이 &b%{_def}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_Spd():
set {_spd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ftl_Spd({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &a&l이동속도&f&l가 &b%{_spd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_CrC():
set {_crc} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ftl_CrC({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 확률&f&l이 &b%{_crc}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_CrD():
set {_crd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ftl_CrD({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 데미지&f&l가 &b%{_crd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_CrCI():
set {_crci} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ftl_CrCI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 저항&f&l이 &b%{_crci}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_DeP():
set {_dep} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ftl_DeP({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통&f&l이 &b%{_dep}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ftl_DePI():
set {_depi} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ftl_DePI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통 저항&f&l이 &b%{_depi}%%% &f&l상승했습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &c&l※ TIP!" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&6&l좌클릭&f&l으로 스텟포인트를 &b&l1&f&l상승시킬 수 있습니다." to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&3&l우클릭&f&l으로 스텟포인트를 &b&l%{_levelUpStat}%&f&l상승시킬 수 있습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
return {_lore::*}
#=============================================================
#스텟 GUI의 인내 스텟 아이콘을 반환
function rpp_StatGUI_Ptn_GetIcon(p:offlineplayer) :: item:
set {_type} to rpp_StatGUI_Ptn_GetIcon_GetType()
set {_name} to rpp_StatGUI_Ptn_GetIcon_GetName()
set {_lore::*} to rpp_StatGUI_Ptn_GetIcon_GetLore({_p})
set {_icon} to {_type} named {_name}
set lore of {_icon} to {_lore::*}
return {_icon}
#스텟 GUI의 인내 스텟 아이콘의 타입을 반환
function rpp_StatGUI_Ptn_GetIcon_GetType() :: item:
return rpp_GetStatGUI_Ptn_Type()
#스텟 GUI의 인내 스텟 아이콘 이름을 반환
function rpp_StatGUI_Ptn_GetIcon_GetName() :: string:
set {_name} to rpp_GetStatGUI_Ptn_Name()
return "&8%{_name}%"
#스텟 GUI의 인내 스텟 아이콘 로어를 반환
function rpp_StatGUI_Ptn_GetIcon_GetLore(p:offlineplayer) :: strings:
set {_point} to rpp_NumberFormat(rpp_GetPlayerStatPoint({_p}), 6, "&8&l", "&b&l") # 자릿수에 맞춰 문자열로 변환하여 반환 e.g) 00127
set {_stat} to rpp_NumberFormat(rpp_GetPlayerStat_Ptn({_p}), 6, "&8&l", "&e&l")
set {_levelUpStat} to rpp_GetLevelUpPoint()
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &d&l인내" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l레벨&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &b&l남은 포인트" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_stat}%&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_point}%" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f&l※ &d&l인내 &f&l스텟으로.." to {_lore::*}
add " " to {_lore::*}
if rpp_GetState_Ptn_Hp():
set {_hp} to rpp_GetPlayerStat_Ptn_Hp({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력&f&l이 &b%{_hp}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_HpR():
set {_hpr} to rpp_GetPlayerStat_Ptn_HpR({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력 재생&f&l이 &b%{_hpr}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_Atk():
set {_atk} to rpp_GetPlayerStat_Ptn_Atk({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &c&l공격력&f&l이 &b%{_atk}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_Def():
set {_def} to rpp_GetPlayerStat_Ptn_Def({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &3&l방어력&f&l이 &b%{_def}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_Spd():
set {_spd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ptn_Spd({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &a&l이동속도&f&l가 &b%{_spd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_CrC():
set {_crc} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ptn_CrC({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 확률&f&l이 &b%{_crc}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_CrD():
set {_crd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ptn_CrD({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 데미지&f&l가 &b%{_crd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_CrCI():
set {_crci} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ptn_CrCI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 저항&f&l이 &b%{_crci}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_DeP():
set {_dep} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ptn_DeP({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통&f&l이 &b%{_dep}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Ptn_DePI():
set {_depi} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Ptn_DePI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통 저항&f&l이 &b%{_depi}%%% &f&l상승했습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &c&l※ TIP!" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&6&l좌클릭&f&l으로 스텟포인트를 &b&l1&f&l상승시킬 수 있습니다." to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&3&l우클릭&f&l으로 스텟포인트를 &b&l%{_levelUpStat}%&f&l상승시킬 수 있습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
return {_lore::*}
#=============================================================
#스텟 GUI의 숙련 스텟 아이콘을 반환
function rpp_StatGUI_Skl_GetIcon(p:offlineplayer) :: item:
set {_type} to rpp_StatGUI_Skl_GetIcon_GetType()
set {_name} to rpp_StatGUI_Skl_GetIcon_GetName()
set {_lore::*} to rpp_StatGUI_Skl_GetIcon_GetLore({_p})
set {_icon} to {_type} named {_name}
set lore of {_icon} to {_lore::*}
return {_icon}
#스텟 GUI의 숙련 스텟 아이콘의 타입을 반환
function rpp_StatGUI_Skl_GetIcon_GetType() :: item:
return rpp_GetStatGUI_Skl_Type()
#스텟 GUI의 숙련 스텟 아이콘 이름을 반환
function rpp_StatGUI_Skl_GetIcon_GetName() :: string:
set {_name} to rpp_GetStatGUI_Skl_Name()
return "&8%{_name}%"
#스텟 GUI의 숙련 스텟 아이콘 로어를 반환
function rpp_StatGUI_Skl_GetIcon_GetLore(p:offlineplayer) :: strings:
set {_point} to rpp_NumberFormat(rpp_GetPlayerStatPoint({_p}), 6, "&8&l", "&b&l") # 자릿수에 맞춰 문자열로 변환하여 반환 e.g) 00127
set {_stat} to rpp_NumberFormat(rpp_GetPlayerStat_Skl({_p}), 6, "&8&l", "&e&l")
set {_levelUpStat} to rpp_GetLevelUpPoint()
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &6&l숙련" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l레벨&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &b&l남은 포인트" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_stat}%&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_point}%" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f&l※ &6&l숙련 &f&l스텟으로.." to {_lore::*}
add " " to {_lore::*}
if rpp_GetState_Skl_Hp():
set {_hp} to rpp_GetPlayerStat_Skl_Hp({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력&f&l이 &b%{_hp}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_HpR():
set {_hpr} to rpp_GetPlayerStat_Skl_HpR({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력 재생&f&l이 &b%{_hpr}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_Atk():
set {_atk} to rpp_GetPlayerStat_Skl_Atk({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &c&l공격력&f&l이 &b%{_atk}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_Def():
set {_def} to rpp_GetPlayerStat_Skl_Def({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &3&l방어력&f&l이 &b%{_def}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_Spd():
set {_spd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Skl_Spd({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &a&l이동속도&f&l가 &b%{_spd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_CrC():
set {_crc} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Skl_CrC({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 확률&f&l이 &b%{_crc}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_CrD():
set {_crd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Skl_CrD({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 데미지&f&l가 &b%{_crd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_CrCI():
set {_crci} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Skl_CrCI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 저항&f&l이 &b%{_crci}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_DeP():
set {_dep} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Skl_DeP({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통&f&l이 &b%{_dep}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Skl_DePI():
set {_depi} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Skl_DePI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통 저항&f&l이 &b%{_depi}%%% &f&l상승했습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &c&l※ TIP!" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&6&l좌클릭&f&l으로 스텟포인트를 &b&l1&f&l상승시킬 수 있습니다." to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&3&l우클릭&f&l으로 스텟포인트를 &b&l%{_levelUpStat}%&f&l상승시킬 수 있습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
return {_lore::*}
#=============================================================
#스텟 GUI의 제압 스텟 아이콘을 반환
function rpp_StatGUI_Spr_GetIcon(p:offlineplayer) :: item:
set {_type} to rpp_StatGUI_Spr_GetIcon_GetType()
set {_name} to rpp_StatGUI_Spr_GetIcon_GetName()
set {_lore::*} to rpp_StatGUI_Spr_GetIcon_GetLore({_p})
set {_icon} to {_type} named {_name}
set lore of {_icon} to {_lore::*}
return {_icon}
#스텟 GUI의 제압 스텟 아이콘의 타입을 반환
function rpp_StatGUI_Spr_GetIcon_GetType() :: item:
return rpp_GetStatGUI_Spr_Type()
#스텟 GUI의 제압 스텟 아이콘 이름을 반환
function rpp_StatGUI_Spr_GetIcon_GetName() :: string:
set {_name} to rpp_GetStatGUI_Spr_Name()
return "&8%{_name}%"
#스텟 GUI의 제압 스텟 아이콘 로어를 반환
function rpp_StatGUI_Spr_GetIcon_GetLore(p:offlineplayer) :: strings:
set {_point} to rpp_NumberFormat(rpp_GetPlayerStatPoint({_p}), 6, "&8&l", "&b&l") # 자릿수에 맞춰 문자열로 변환하여 반환 e.g) 00127
set {_stat} to rpp_NumberFormat(rpp_GetPlayerStat_Spr({_p}), 6, "&8&l", "&e&l")
set {_levelUpStat} to rpp_GetLevelUpPoint()
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &9&l제압" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l레벨&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &b&l남은 포인트" to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_stat}%&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &e&l%{_point}%" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅┈┈∘┈˃̶༒̶˂┈∘┈┈❅•&f &f &f &f &f &f &f &f &f &f &f &f &f " to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f&l※ &9&l제압 &f&l스텟으로.." to {_lore::*}
add " " to {_lore::*}
if rpp_GetState_Spr_Hp():
set {_hp} to rpp_GetPlayerStat_Spr_Hp({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력&f&l이 &b%{_hp}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_HpR():
set {_hpr} to rpp_GetPlayerStat_Spr_HpR({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &d&l체력 재생&f&l이 &b%{_hpr}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_Atk():
set {_atk} to rpp_GetPlayerStat_Spr_Atk({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &c&l공격력&f&l이 &b%{_atk}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_Def():
set {_def} to rpp_GetPlayerStat_Spr_Def({_p})
add "&f &f &f &f &f &f &f &f &f⨳ &3&l방어력&f&l이 &b%{_def}% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_Spd():
set {_spd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Spr_Spd({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &a&l이동속도&f&l가 &b%{_spd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_CrC():
set {_crc} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Spr_CrC({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 확률&f&l이 &b%{_crc}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_CrD():
set {_crd} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Spr_CrD({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 데미지&f&l가 &b%{_crd}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_CrCI():
set {_crci} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Spr_CrCI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &e&l치명타 저항&f&l이 &b%{_crci}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_DeP():
set {_dep} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Spr_DeP({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통&f&l이 &b%{_dep}%%% &f&l상승했습니다." to {_lore::*}
if rpp_GetState_Spr_DePI():
set {_depi} to rpp_ConvertCalRateToPercent(rpp_GetPlayerStat_Spr_DePI({_p}))
add "&f &f &f &f &f &f &f &f &f⨳ &9&l방어력 관통 저항&f&l이 &b%{_depi}%%% &f&l상승했습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &f &7•❅──────✧❅✦❅✧──────❅•" to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &c&l※ TIP!" to {_lore::*}
add " " to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&6&l좌클릭&f&l으로 스텟포인트를 &b&l1&f&l상승시킬 수 있습니다." to {_lore::*}
add "&f &f &f &f &f &f &f &f &f⨳ &e&l쉬프트&f+&3&l우클릭&f&l으로 스텟포인트를 &b&l%{_levelUpStat}%&f&l상승시킬 수 있습니다." to {_lore::*}
add " " to {_lore::*}
add " " to {_lore::*}
return {_lore::*}