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