Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 .@a
8 =
9 (2*(.@r/3));
10 bonus
11 bMaxHPrate,10;
12 bonus
13 bMaxSPrate,7;
14 bonus2
15 bAddEle,Ele_Dark,10+.@a;
16 bonus2
17 bAddEle,Ele_Holy,10+.@a;
18 bonus2
19 bAddRace,RC_Angel,10+.@a;
20 bonus2
21 bAddRace,RC_Dragon,10+.@a;
22 bonus2
23 bMagicAddEle,Ele_Dark,10+.@a;
24 bonus2
25 bMagicAddEle,Ele_Holy,10+.@a;
26 bonus2
27 bMagicAddRace,RC_Angel,10+.@a;
28 bonus2
29 bMagicAddRace,RC_Dragon,10+.@a;
30 if
31 (.@a
32 =7)
33 {
34 bonus
35 bAtkRate,5;
36 bonus
37 bMatkRate,5;
38 }
39 if
40 (.@r
41 =9)
42 bonus
43 bVariableCastrate,-15;
44 if
45 (.@r
46 =11)
47 bonus
48 bDelayrate,-15;
49 if
50 (.@g
51 =ENCHANTGRADE_D)
52 bonus
53 bAllTraitStats,2;
54 if
55 (.@g
56 =ENCHANTGRADE_C)
57 {
58 bonus
59 bRes,50;
60 bonus
61 bMRes,50;
62 }
63 if
64 (.@g
65 =ENCHANTGRADE_B)
66 {
67 bonus2
68 bAddSize,Size_All,10;
69 bonus2
70 bMagicAddSize,Size_All,10;
71 }
72 if
73 (.@g
74 =ENCHANTGRADE_A)
75 {
76 bonus2
77 bSubRace,RC_Angel,5;
78 bonus2
79 bSubRace,RC_Dragon,5;
80 } |