Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 bonus
10 bMatkRate,5;
11 bonus2
12 bSkillAtk,"AG_VIOLENT_QUAKE",10;
13 bonus2
14 bSkillAtk,"AG_VIOLENT_QUAKE_ATK",10;
15 bonus2
16 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
17 bonus2
18 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
19 bonus2
20 bSkillAtk,"AG_FROZEN_SLASH",10;
21 bonus2
22 bSkillAtk,"AG_ROCK_DOWN",10;
23 if
24 (.@r
25 =7)
26 {
27 bonus2
28 bMagicAtkEle,Ele_Water,10;
29 bonus2
30 bMagicAtkEle,Ele_Earth,10;
31 if
32 (.@r
33 =9)
34 {
35 bonus2
36 bSkillAtk,"AG_VIOLENT_QUAKE",10;
37 bonus2
38 bSkillAtk,"AG_VIOLENT_QUAKE_ATK",10;
39 bonus2
40 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
41 bonus2
42 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
43 bonus2
44 bSkillAtk,"AG_FROZEN_SLASH",10;
45 bonus2
46 bSkillAtk,"AG_ROCK_DOWN",10;
47 if
48 (.@r
49 =11)
50 {
51 bonus2
52 bSkillAtk,"AG_VIOLENT_QUAKE",10;
53 bonus2
54 bSkillAtk,"AG_VIOLENT_QUAKE_ATK",10;
55 bonus2
56 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
57 bonus2
58 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
59 bonus2
60 bSkillAtk,"AG_FROZEN_SLASH",10;
61 bonus2
62 bSkillAtk,"AG_ROCK_DOWN",10;
63 }
64 }
65 }
66 if
67 (.@g
68 =ENCHANTGRADE_D)
69 {
70 bonus2
71 bMagicAddSize,Size_Small,15;
72 if
73 (.@g
74 =ENCHANTGRADE_C)
75 {
76 bonus2
77 bMagicAddSize,Size_Medium,15;
78 if
79 (.@g
80 =ENCHANTGRADE_B)
81 {
82 bonus2
83 bMagicAddSize,Size_Large,15;
84 if
85 (.@g
86 =ENCHANTGRADE_A)
87 {
88 bonus
89 bSMatk,5;
90 }
91 }
92 }
93 } |