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