Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus2
8 bSkillAtk,"SJ_FALLINGSTAR_ATK",10;
9 bonus2
10 bSkillAtk,"SJ_FALLINGSTAR_ATK2",10;
11 bonus
12 bBaseAtk,12*(.@r/3);
13 if
14 (.@r
15 =7)
16 {
17 bonus2
18 bSkillAtk,"SJ_FALLINGSTAR_ATK",20;
19 bonus2
20 bSkillAtk,"SJ_FALLINGSTAR_ATK2",20;
21 if
22 (.@r
23 =9)
24 {
25 bonus2
26 bAddSize,Size_All,15;
27 if
28 (.@r
29 =11)
30 {
31 bonus2
32 bSkillAtk,"SJ_FALLINGSTAR_ATK",25;
33 bonus2
34 bSkillAtk,"SJ_FALLINGSTAR_ATK2",25;
35 if
36 (.@r
37 =12)
38 {
39 bonus
40 bShortAtkRate,15;
41 }
42 }
43 }
44 }
45 if
46 (.@g
47 =
48 ENCHANTGRADE_D)
49 {
50 if
51 (.@r
52 =11)
53 {
54 bonus2
55 bAddEle,Ele_All,15;
56 }
57 }
58 if
59 (.@g
60 =
61 ENCHANTGRADE_C)
62 {
63 bonus2
64 bSkillAtk,"SJ_FALLINGSTAR_ATK",15;
65 bonus2
66 bSkillAtk,"SJ_FALLINGSTAR_ATK2",15;
67 if
68 (.@g
69 =
70 ENCHANTGRADE_B)
71 {
72 bonus
73 bAtkRate,7;
74 if
75 (.@g
76 =
77 ENCHANTGRADE_A)
78 {
79 bonus
80 bPAtk,(.@r/3);
81 bonus
82 bPow,(.@r/3);
83 }
84 }
85 } |