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