Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus2
8 bSkillAtk,"LG_RAYOFGENESIS",10;
9 bonus
10 bMatk,12*(.@r/3);
11 if
12 (.@r
13 =7)
14 {
15 bonus2
16 bSkillAtk,"LG_RAYOFGENESIS",20;
17 if
18 (.@r
19 =9)
20 {
21 bonus2
22 bSkillCooldown,"LG_RAYOFGENESIS",-500;
23 if
24 (.@r
25 =11)
26 {
27 bonus2
28 bSkillAtk,"LG_RAYOFGENESIS",25;
29 if
30 (.@r
31 =12)
32 {
33 bonus2
34 bMagicAtkEle,Ele_Neutral,15;
35 bonus2
36 bMagicAtkEle,Ele_Holy,15;
37 }
38 }
39 }
40 }
41 if
42 (.@g
43 =
44 ENCHANTGRADE_D)
45 {
46 if
47 (.@r
48 =11)
49 {
50 bonus2
51 bMagicAddEle,Ele_All,15;
52 }
53 }
54 if
55 (.@g
56 =
57 ENCHANTGRADE_C)
58 {
59 bonus2
60 bSkillAtk,"LG_RAYOFGENESIS",15;
61 if
62 (.@g
63 =
64 ENCHANTGRADE_B)
65 {
66 bonus
67 bMatkRate,7;
68 if
69 (.@g
70 =
71 ENCHANTGRADE_A)
72 {
73 bonus
74 bSMatk,(.@r/3);
75 bonus
76 bSpl,(.@r/3);
77 }
78 }
79 } |