| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bNoKnockback;
9 bonus
10 bMdef,10;
11 bonus
12 bAspd,2;
13 bonus2
14 bAddClass,Class_All,10;
15 bonus
16 bMatkRate,10;
17 bonus
18 bUseSPrate,-15;
19 bonus2
20 bSubSize,Size_All,2*(.@r/3);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bAspdRate,20;
27 if
28 (.@r
29 =9)
30 {
31 bonus
32 bDelayrate,-5;
33 if
34 (.@r
35 =11)
36 {
37 bonus
38 bShortAtkRate,10;
39 bonus
40 bLongAtkRate,10;
41 bonus2
42 bMagicAtkEle,Ele_All,10;
43 }
44 }
45 }
46 if
47 (.@g
48 =ENCHANTGRADE_D)
49 {
50 bonus
51 bDef,100;
52 bonus
53 bMdef,20;
54 if
55 (.@g
56 =ENCHANTGRADE_C)
57 {
58 bonus
59 bPow,3;
60 bonus
61 bSpl,3;
62 bonus
63 bCon,3;
64 if
65 (.@g
66 =ENCHANTGRADE_B)
67 {
68 bonus2
69 bAddRace,RC_All,15;
70 bonus2
71 bMagicAddRace,RC_All,15;
72 if
73 (.@g
74 =ENCHANTGRADE_A)
75 {
76 bonus2
77 bIgnoreDefRaceRate,RC_All,70;
78 bonus2
79 bIgnoreMdefRaceRate,RC_All,70;
80 bonus2
81 bIgnoreDefRaceRate,RC_Player_Doram,-70;
82 bonus2
83 bIgnoreDefRaceRate,RC_Player_Human,-70;
84 bonus2
85 bIgnoreMdefRaceRate,RC_Player_Doram,-70;
86 bonus2
87 bIgnoreMdefRaceRate,RC_Player_Human,-70;
88 }
89 }
90 }
91 } |