Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMdef,10;
9 bonus2
10 bSubSize,Size_Medium,13;
11 bonus2
12 bSubSize,Size_Large,13;
13 bonus
14 bDelayrate,-.@r;
15 bonus
16 bBaseAtk,15*.@r;
17 bonus
18 bMatk,15*.@r;
19 bonus
20 bMaxHPrate,5*(.@r/3);
21 bonus
22 bAtkRate,5*(.@r/3);
23 bonus
24 bMatkRate,5*(.@r/3);
25 if
26 (.@r
27 =9)
28 {
29 bonus
30 bRes,20;
31 bonus
32 bMRes,20;
33 bonus2
34 bAddEle,Ele_All,15;
35 bonus2
36 bMagicAddEle,Ele_All,15;
37 if
38 (.@r
39 =13)
40 {
41 bonus2
42 bAddEffWhenHit,Eff_Freeze,2000;
43 }
44 }
45 if
46 (.@g
47 =ENCHANTGRADE_D)
48 {
49 if
50 (.@r
51 =13)
52 {
53 bonus
54 bLongAtkDef,readparam(bSta)/10;
55 bonus
56 bNearAtkDef,readparam(bWis)/10;
57 }
58 }
59 if
60 (.@g
61 =ENCHANTGRADE_C)
62 {
63 if
64 (.@r
65 =13)
66 {
67 bonus
68 bMaxHP,10000;
69 bonus2
70 bAddEff,Eff_Freeze,800;
71 }
72 }
73 if
74 (.@g
75 =ENCHANTGRADE_B)
76 bonus2
77 bAddEffWhenHit,Eff_Freeze,1500;
78 if
79 (.@g
80 =ENCHANTGRADE_A)
81 {
82 bonus2
83 bAddRace,RC_All,15;
84 bonus2
85 bMagicAddRace,RC_All,15;
86 } |