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