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