Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bFlee,20;
9 bonus2
10 bMagicAtkEle,Ele_All,15;
11 bonus
12 bCritAtkRate,15;
13 if
14 (BaseLevel
15 =210)
16 {
17 bonus
18 bPAtk,2;
19 bonus
20 bSMatk,2;
21 }
22 if
23 (.@r
24 =7)
25 {
26 bonus
27 bCritAtkRate,10;
28 bonus2
29 bMagicAtkEle,Ele_All,10;
30 if
31 (.@r
32 =9)
33 {
34 bonus
35 bAtkRate,5;
36 bonus
37 bMatkRate,5;
38 if
39 (.@r
40 =11)
41 {
42 bonus
43 bDelayrate,-5;
44 }
45 }
46 }
47 if
48 (.@g
49 =
50 ENCHANTGRADE_D)
51 {
52 if
53 (.@r
54 =11)
55 {
56 bonus
57 bDelayrate,-5;
58 }
59 }
60 if
61 (.@g
62 =
63 ENCHANTGRADE_C)
64 {
65 bonus
66 bPAtk,2;
67 bonus
68 bSMatk,2;
69 if
70 (.@g
71 =
72 ENCHANTGRADE_B)
73 {
74 if
75 (.@r
76 =12)
77 {
78 bonus
79 bFixedCast,-500;
80 }
81 }
82 }
83 autobonus
84 "{
85 bonus
86 bCritical,30;
87 }",1,10000,BF_WEAPON;
88 autobonus
89 "{
90 bonus2
91 bIgnoreMdefRaceRate,RC_All,100;
92 bonus2
93 bIgnoreMdefRaceRate,RC_Player_Human,-100;
94 bonus2
95 bIgnoreMdefRaceRate,RC_Player_Doram,-100;
96 }",1,10000,BF_MAGIC; |