Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus2
8 bSkillAtk,"CD_PETITIO",5;
9 if
10 (BaseLevel
11 =210)
12 {
13 bonus
14 bAtkRate,4;
15 bonus
16 bBaseAtk,40;
17 }
18 if
19 (BaseLevel
20 =220)
21 {
22 bonus2
23 bSkillAtk,"CD_PETITIO",5;
24 }
25 if
26 (BaseLevel
27 =230)
28 {
29 bonus2
30 bAddSize,Size_All,10;
31 bonus2
32 bMagicAddSize,Size_All,10;
33 }
34 if
35 (.@r
36 =7)
37 {
38 bonus
39 bCritAtkRate,10;
40 if
41 (.@r
42 =9)
43 {
44 bonus2
45 bSkillAtk,"CD_PETITIO",10;
46 if
47 (.@r
48 =10)
49 {
50 if
51 (.@r
52 =11)
53 {
54 bonus2
55 bSkillAtk,"CD_PETITIO",10;
56 }
57 }
58 }
59 }
60 if
61 (.@g
62 =ENCHANTGRADE_D)
63 {
64 bonus
65 bCritAtkRate,10;
66 if
67 (.@g
68 =ENCHANTGRADE_C)
69 {
70 bonus2
71 bSkillAtk,"CD_PETITIO",5;
72 if
73 (.@g
74 =ENCHANTGRADE_B)
75 {
76 bonus2
77 bSkillAtk,"CD_PETITIO",10;
78 if
79 (.@g
80 =ENCHANTGRADE_A)
81 {
82 bonus
83 bPAtk,3*(.@r/2);
84 bonus
85 bAtkRate,3*(.@r/2);
86 }
87 }
88 }
89 } |