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_SOUL_VC_STRIKE",5;
15 if
16 (.@r
17 =5)
18 {
19 bonus2
20 bSkillAtk,"AG_SOUL_VC_STRIKE",10;
21 if
22 (.@r
23 =7)
24 {
25 bonus2
26 bMagicAtkEle,Ele_Dark,5;
27 bonus2
28 bMagicAtkEle,Ele_Ghost,5;
29 if
30 (.@r
31 =9)
32 {
33 bonus2
34 bSkillAtk,"AG_SOUL_VC_STRIKE",10;
35 if
36 (.@r
37 =10)
38 {
39 bonus
40 bVariableCastrate,-10;
41 if
42 (.@r
43 =11)
44 {
45 bonus2
46 bSkillAtk,"AG_MYSTERY_ILLUSION",15;
47 bonus2
48 bSkillAtk,"AG_SOUL_VC_STRIKE",5;
49 }
50 }
51 }
52 }
53 }
54 if
55 (.@g
56 =ENCHANTGRADE_D)
57 {
58 bonus2
59 bMagicAtkEle,Ele_Dark,10;
60 bonus2
61 bMagicAtkEle,Ele_Ghost,10;
62 if
63 (.@g
64 =ENCHANTGRADE_C)
65 {
66 bonus2
67 bMagicAddSize,Size_All,10;
68 if
69 (.@g
70 =ENCHANTGRADE_B)
71 {
72 bonus2
73 bMagicAddRace,RC_All,10;
74 if
75 (.@g
76 =ENCHANTGRADE_A)
77 {
78 bonus2
79 bMagicAddEle,Ele_All,10;
80 }
81 }
82 }
83 } |