| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus2
8 bSubSize,Size_All,5;
9 bonus
10 bMaxHPrate,20;
11 bonus
12 bVit,6*(.@r/2);
13 bonus
14 bBaseAtk,20*(.@r/2);
15 bonus
16 bMatk,20*(.@r/2);
17 bonus
18 bMaxHP,1200*(.@r/3);
19 if
20 (.@r
21 =7)
22 {
23 bonus
24 bDelayrate,-12;
25 if
26 (.@r
27 =9)
28 {
29 bonus2
30 bAddEle,Ele_All,15;
31 bonus2
32 bMagicAddEle,Ele_All,15;
33 if
34 (.@r
35 =11)
36 {
37 if
38 (readparam(bWis)
39 =90)
40 bonus
41 bNearAtkDef,18;
42 if
43 (readparam(bSta)
44 =90)
45 bonus
46 bLongAtkDef,18;
47 if
48 (readparam(bWis)
49 =90
50 &&
51 readparam(bSta)
52 =90)
53 {
54 bonus
55 bNearAtkDef,10;
56 bonus
57 bLongAtkDef,10;
58 }
59 if
60 (.@r
61 =13)
62 {
63 bonus2
64 bAddSize,Size_All,15;
65 bonus2
66 bMagicAddSize,Size_All,15;
67 }
68 }
69 }
70 }
71 if
72 (.@g
73 =ENCHANTGRADE_D)
74 {
75 bonus
76 bVit,2*(.@r/2);
77 bonus
78 bMaxHP,500*(.@r/2);
79 if
80 (.@g
81 =ENCHANTGRADE_C)
82 {
83 bonus2
84 bSubSize,Size_All,8;
85 bonus2
86 bAddRace,RC_All,15;
87 bonus2
88 bMagicAddRace,RC_All,15;
89 if
90 (.@g
91 =ENCHANTGRADE_B)
92 {
93 bonus2
94 bAddEffWhenHit,Eff_Stone,3000;
95 if
96 (.@g
97 =ENCHANTGRADE_A)
98 {
99 bonus3
100 bAutoSpellWhenHit,"PR_LEXAETERNA",1,100;
101 }
102 }
103 }
104 } |