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