Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMaxHPrate,20;
9 bonus
10 bMaxHP,500*(.@r/2);
11 bonus
12 bVit,8*(.@r/2);
13 bonus2
14 bSkillAtk,"RK_DRAGONBREATH",20*(.@r/3);
15 bonus2
16 bSkillAtk,"RK_DRAGONBREATH_WATER",20*(.@r/3);
17 bonus2
18 bSkillAtk,"LG_EARTHDRIVE",20*(.@r/3);
19 bonus2
20 bSkillAtk,"LG_SHIELDPRESS",20*(.@r/3);
21 if
22 (.@r
23 =9)
24 {
25 bonus
26 bMaxHP,5000;
27 }
28 if
29 (.@r
30 =11)
31 bonus2
32 bSubRace,RC_All,10;
33 if
34 (.@r
35 =13)
36 bonus
37 bDelayrate,-15;
38 if
39 (.@g
40 =ENCHANTGRADE_D)
41 {
42 bonus
43 bVit,3*(.@r/2);
44 bonus
45 bLongAtkRate,3*(.@r/3);
46 bonus
47 bShortAtkRate,3*(.@r/3);
48 }
49 if
50 (.@g
51 =ENCHANTGRADE_C)
52 {
53 bonus
54 bMaxHPrate,3*(.@r/3);
55 }
56 if
57 (.@g
58 =ENCHANTGRADE_B)
59 {
60 bonus
61 bVit,5*(.@r/2);
62 bonus
63 bLongAtkRate,5*(.@r/3);
64 bonus
65 bShortAtkRate,5*(.@r/3);
66 }
67 if
68 (.@g
69 =ENCHANTGRADE_A)
70 {
71 bonus
72 bMaxHPrate,5*(.@r/3);
73 if
74 (.@r
75 =13)
76 {
77 bonus2
78 bSubRace,RC_All,10;
79 }
80 } |