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 bPAtk,1;
15 bonus
16 bPow,2;
17 }
18 if
19 (.@r
20 =7)
21 {
22 bonus
23 bVariableCastrate,-10;
24 bonus2
25 bSkillAtk,"KO_HUUMARANKA",30;
26 if
27 (.@r
28 =9)
29 {
30 bonus2
31 bSkillCooldown,"KO_HUUMARANKA",-2000;
32 bonus2
33 bSkillAtk,"KO_HUUMARANKA",15;
34 if
35 (.@r
36 =11)
37 {
38 bonus2
39 bAddEle,Ele_Fire,25;
40 bonus2
41 bAddEle,Ele_Dark,25;
42 bonus2
43 bAddEle,Ele_Holy,25;
44 bonus2
45 bAddEle,Ele_Undead,25;
46 bonus2
47 bAddRace,RC_Undead,25;
48 bonus2
49 bAddRace,RC_Angel,25;
50 bonus2
51 bAddRace,RC_Demon,25;
52 bonus2
53 bAddRace,RC_Dragon,25;
54 }
55 }
56 }
57 if
58 (.@g
59 =
60 ENCHANTGRADE_D)
61 {
62 bonus
63 bAtkRate,3;
64 if
65 (.@g
66 =
67 ENCHANTGRADE_C)
68 {
69 bonus
70 bLongAtkRate,15;
71 bonus
72 bPAtk,1;
73 if
74 (.@g
75 =
76 ENCHANTGRADE_B)
77 {
78 bonus
79 bPAtk,2;
80 bonus
81 bPow,3;
82 }
83 }
84 }
85 bonus
86 bBaseAtk,15*(.@r/2);
87 bonus
88 bLongAtkRate,4*(.@r/3); |