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 bMatk,210;
13 if
14 (BaseLevel
15 =210)
16 {
17 bonus
18 bSMatk,1;
19 bonus
20 bSpl,2;
21 }
22 if
23 (.@r
24 =7)
25 {
26 skill
27 "SO_PSYCHIC_WAVE",5;
28 bonus2
29 bMagicAddEle,Ele_All,15;
30 if
31 (.@r
32 =9)
33 {
34 bonus
35 bVariableCastrate,-15;
36 bonus2
37 bSkillAtk,"SO_PSYCHIC_WAVE",20;
38 if
39 (.@r
40 =11)
41 {
42 bonus2
43 bMagicAtkEle,Ele_Neutral,20;
44 bonus2
45 bMagicAtkEle,Ele_Earth,20;
46 bonus
47 bVariableCastrate,-5;
48 }
49 }
50 }
51 if
52 (.@g
53 =ENCHANTGRADE_D)
54 {
55 bonus
56 bMatkRate,3;
57 if
58 (.@g
59 =ENCHANTGRADE_C)
60 {
61 bonus2
62 bMagicAtkEle,Ele_Neutral,15;
63 bonus2
64 bMagicAtkEle,Ele_Earth,15;
65 bonus
66 bSMatk,1;
67 if
68 (.@g
69 =ENCHANTGRADE_B)
70 {
71 bonus
72 bSMatk,2;
73 bonus
74 bSpl,3;
75 }
76 }
77 }
78 bonus
79 bMatk,15*(.@r/2);
80 bonus2
81 bSkillAtk,"WZ_HEAVENDRIVE",30*(.@r/3); |