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