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