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