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