| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 bonus2
10 bSkillAtk,"SH_HYUN_ROK_CANNON",5;
11 if
12 (BaseLevel
13 =210)
14 {
15 bonus
16 bMatkRate,4;
17 bonus
18 bMatk,40;
19 }
20 if
21 (BaseLevel
22 =220)
23 {
24 bonus2
25 bSkillAtk,"SH_HYUN_ROK_CANNON",5;
26 }
27 if
28 (BaseLevel
29 =230)
30 {
31 bonus2
32 bMagicAddSize,Size_All,10;
33 }
34 if
35 (.@r
36 =7)
37 {
38 bonus2
39 bMagicAtkEle,Ele_Holy,10;
40 bonus2
41 bMagicAtkEle,Ele_Fire,10;
42 bonus2
43 bMagicAtkEle,Ele_Neutral,10;
44 bonus2
45 bMagicAtkEle,Ele_Earth,10;
46 bonus2
47 bMagicAtkEle,Ele_Water,10;
48 bonus2
49 bMagicAtkEle,Ele_Wind,10;
50 bonus2
51 bMagicAtkEle,Ele_Dark,10;
52 if
53 (.@r
54 =9)
55 {
56 bonus2
57 bSkillAtk,"SH_HYUN_ROK_CANNON",10;
58 if
59 (.@r
60 =10)
61 {
62 bonus2
63 bMagicAtkEle,Ele_Holy,10;
64 bonus2
65 bMagicAtkEle,Ele_Fire,10;
66 bonus2
67 bMagicAtkEle,Ele_Neutral,10;
68 bonus2
69 bMagicAtkEle,Ele_Earth,10;
70 bonus2
71 bMagicAtkEle,Ele_Water,10;
72 bonus2
73 bMagicAtkEle,Ele_Wind,10;
74 bonus2
75 bMagicAtkEle,Ele_Dark,10;
76 if
77 (.@r
78 =11)
79 {
80 bonus2
81 bSkillAtk,"SH_HYUN_ROK_CANNON",10;
82 }
83 }
84 }
85 }
86 if
87 (.@g
88 =ENCHANTGRADE_D)
89 {
90 bonus2
91 bMagicAtkEle,Ele_Holy,10;
92 bonus2
93 bMagicAtkEle,Ele_Fire,10;
94 bonus2
95 bMagicAtkEle,Ele_Neutral,10;
96 bonus2
97 bMagicAtkEle,Ele_Earth,10;
98 bonus2
99 bMagicAtkEle,Ele_Water,10;
100 bonus2
101 bMagicAtkEle,Ele_Wind,10;
102 bonus2
103 bMagicAtkEle,Ele_Dark,10;
104 if
105 (.@g
106 =ENCHANTGRADE_C)
107 {
108 bonus2
109 bSkillAtk,"SH_HYUN_ROK_CANNON",5;
110 if
111 (.@g
112 =ENCHANTGRADE_B)
113 {
114 bonus2
115 bSkillAtk,"SH_HYUN_ROK_CANNON",10;
116 if
117 (.@g
118 =ENCHANTGRADE_A)
119 {
120 bonus
121 bSMatk,3*(.@r/2);
122 bonus
123 bMatkRate,3*(.@r/2);
124 }
125 }
126 }
127 } |