| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 bonus2
5 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
6 bonus2
7 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
8 if
9 (.@g
10 =
11 ENCHANTGRADE_D)
12 {
13 bonus2
14 bSkillAtk,"AG_CRYSTAL_IMPACT",7;
15 bonus2
16 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",7;
17 if
18 (.@g
19 =
20 ENCHANTGRADE_C)
21 {
22 bonus2
23 bMagicAddSize,Size_All,10;
24 if
25 (.@g
26 =
27 ENCHANTGRADE_B)
28 {
29 bonus2
30 bSkillAtk,"AG_CRYSTAL_IMPACT",8;
31 bonus2
32 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",8;
33 if
34 (.@g
35 =
36 ENCHANTGRADE_A)
37 {
38 bonus2
39 bSkillAtk,"AG_CRYSTAL_IMPACT",10;
40 bonus2
41 bSkillAtk,"AG_CRYSTAL_IMPACT_ATK",10;
42 }
43 }
44 }
45 } |