| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMaxHPrate,5;
9 bonus
10 bMaxSPrate,5;
11 bonus
12 bBaseAtk,10*(.@r/2);
13 bonus
14 bMatk,10*(.@r/2);
15 bonus2
16 bAddRace,RC_All,3*(.@r/3);
17 bonus2
18 bMagicAddRace,RC_All,3*(.@r/3);
19 if
20 (.@r
21 =7)
22 {
23 bonus
24 bShortAtkRate,10;
25 bonus
26 bLongAtkRate,10;
27 bonus2
28 bMagicAtkEle,Ele_All,10;
29 if
30 (.@r
31 =11)
32 {
33 bonus
34 bFixedCast,-500;
35 if
36 (.@r
37 =13)
38 {
39 autobonus
40 "{
41 bonus
42 bLuk,200;
43 bonus2
44 bDropAddRace,RC_All,10;
45 bonus2
46 bExpAddRace,RC_All,10;
47 }",10,5000,BF_WEAPON|BF_MAGIC,"{
48 active_transform
49 1247,5000;
50 }";
51 }
52 }
53 }
54 if
55 (.@g
56 =ENCHANTGRADE_D)
57 {
58 bonus
59 bBaseAtk,100;
60 bonus
61 bMatk,100;
62 if
63 (.@g
64 =ENCHANTGRADE_C)
65 {
66 bonus
67 bFixedCast,-300;
68 if
69 (.@g
70 =ENCHANTGRADE_B)
71 {
72 bonus2
73 bExpAddRace,RC_All,8;
74 if
75 (.@g
76 =ENCHANTGRADE_A)
77 {
78 bonus2
79 bDropAddRace,RC_All,8;
80 }
81 }
82 }
83 } |