| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bBaseAtk,10*(.@r/2);
9 bonus2
10 bSkillAtk,"BO_EXPLOSIVE_POWDER",4*(.@r/3);
11 bonus2
12 bSkillAtk,"BO_MAYHEMIC_THORNS",4*(.@r/3);
13 if
14 (.@r
15 =7)
16 {
17 bonus
18 bVariableCastrate,-15;
19 if
20 (.@r
21 =9)
22 {
23 bonus
24 bShortAtkRate,10;
25 bonus
26 bCritAtkRate,10;
27 if
28 (.@r
29 =11)
30 {
31 bonus2
32 bAddEle,Ele_All,5;
33 bonus
34 bAtkRate,5;
35 }
36 }
37 }
38 if
39 (.@g
40 =ENCHANTGRADE_D)
41 {
42 bonus
43 bPAtk,3;
44 bonus
45 bPow,5;
46 bonus
47 bCon,5;
48 if
49 (.@g
50 =ENCHANTGRADE_C)
51 {
52 bonus
53 bShortAtkRate,10;
54 bonus
55 bCritAtkRate,10;
56 if
57 (.@g
58 =ENCHANTGRADE_B)
59 {
60 bonus2
61 bAddRace,RC_All,5;
62 bonus2
63 bAddRace,RC_Player_Human,-5;
64 bonus2
65 bAddRace,RC_Player_Doram,-5;
66 bonus
67 bAtkRate,5;
68 if
69 (.@g
70 =ENCHANTGRADE_A)
71 {
72 bonus
73 bShortAtkRate,15;
74 bonus
75 bCritAtkRate,15;
76 bonus
77 bPAtk,5;
78 }
79 }
80 }
81 } |