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