| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bBaseAtk,20*(.@r/2);
9 bonus
10 bMatk,20*(.@r/2);
11 bonus2
12 bSkillAtk,"SJ_FULLMOONKICK",20*(.@r/3);
13 bonus2
14 bSkillAtk,"SJ_FALLINGSTAR_ATK",20*(.@r/3);
15 bonus2
16 bSkillAtk,"SJ_FALLINGSTAR_ATK2",20*(.@r/3);
17 bonus2
18 bSkillAtk,"SP_CURSEEXPLOSION",20*(.@r/3);
19 bonus2
20 bSkillAtk,"SP_SPA",20*(.@r/3);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bAtkRate,10;
27 bonus
28 bMatkRate,10;
29 bonus
30 bAspdRate,10;
31 if
32 (.@r
33 =9)
34 {
35 bonus2
36 bAddSize,Size_All,10;
37 bonus2
38 bMagicAddSize,Size_All,10;
39 if
40 (.@r
41 =11)
42 {
43 bonus
44 bShortAtkRate,15;
45 bonus2
46 bMagicAtkEle,Ele_All,15;
47 if
48 (.@r
49 =12)
50 {
51 bonus2
52 bSkillCooldown,"SJ_BOOKOFDIMENSION",-5000;
53 bonus2
54 bSkillCooldown,"SP_CURSEEXPLOSION",-1000;
55 }
56 }
57 }
58 }
59 if
60 (.@g
61 =ENCHANTGRADE_D)
62 {
63 bonus2
64 bSkillCooldown,"SJ_BOOKOFDIMENSION",-5000;
65 bonus2
66 bSkillCooldown,"SP_SOULREAPER",-30000;
67 bonus
68 bFixedCast,-100*(.@r/3);
69 if
70 (.@g
71 =ENCHANTGRADE_C)
72 {
73 bonus2
74 bSkillAtk,"SJ_FULLMOONKICK",10*(.@r/3);
75 bonus2
76 bSkillAtk,"SJ_FALLINGSTAR_ATK",10*(.@r/3);
77 bonus2
78 bSkillAtk,"SJ_FALLINGSTAR_ATK2",10*(.@r/3);
79 bonus2
80 bSkillAtk,"SP_CURSEEXPLOSION",10*(.@r/3);
81 bonus2
82 bSkillAtk,"SP_SPA",10*(.@r/3);
83 if
84 (.@g
85 =ENCHANTGRADE_B)
86 {
87 bonus
88 bPAtk,7;
89 bonus
90 bSMatk,7;
91 if
92 (.@g
93 =ENCHANTGRADE_A)
94 {
95 bonus2
96 bAddRace,RC_All,10;
97 bonus2
98 bMagicAddRace,RC_All,10;
99 bonus2
100 bSkillCooldown,"SJ_BOOKOFDIMENSION",-5000;
101 bonus2
102 bSkillCooldown,"SP_SOULEXPLOSION",-30000;
103 }
104 }
105 }
106 } |