| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMdef,10;
9 skill
10 "PA_GOSPEL",1;
11 bonus
12 bBaseAtk,10*(.@r/2);
13 bonus
14 bMatk,10*(.@r/2);
15 bonus
16 bAtkRate,2*(.@r/3);
17 bonus
18 bMatkRate,2*(.@r/3);
19 bonus2
20 bSubClass,Class_Normal,3*(.@r/4);
21 if
22 (.@r
23 =9)
24 {
25 bonus
26 bPAtk,5;
27 bonus
28 bSMatk,5;
29 if
30 (.@r
31 =11)
32 {
33 bonus
34 bShortAtkRate,12;
35 bonus
36 bLongAtkRate,12;
37 bonus2
38 bMagicAtkEle,Ele_All,12;
39 if
40 (.@r
41 =13)
42 {
43 bonus
44 bDelayrate,-15;
45 }
46 }
47 }
48 if
49 (.@g
50 =ENCHANTGRADE_D)
51 {
52 bonus2
53 bAddSize,Size_All,10;
54 bonus2
55 bMagicAddSize,Size_All,10;
56 if
57 (.@g
58 =ENCHANTGRADE_C)
59 {
60 bonus2
61 bAddEle,Ele_All,10;
62 bonus2
63 bMagicAddEle,Ele_All,10;
64 if
65 (.@g
66 =ENCHANTGRADE_B)
67 {
68 bonus2
69 bAddRace,RC_All,10;
70 bonus2
71 bMagicAddRace,RC_All,10;
72 if
73 (.@g
74 =ENCHANTGRADE_A)
75 {
76 bonus2
77 bAddClass,Class_All,10;
78 bonus2
79 bMagicAddClass,Class_All,10;
80 }
81 }
82 }
83 } |