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,"ABC_CHAIN_REACTION_SHOT",5;
13 bonus2
14 bSkillAtk,"ABC_CHAIN_REACTION_SHOT_ATK",5;
15 if
16 (.@r
17 =5)
18 {
19 bonus2
20 bSkillAtk,"ABC_CHAIN_REACTION_SHOT",10;
21 bonus2
22 bSkillAtk,"ABC_CHAIN_REACTION_SHOT_ATK",10;
23 if
24 (.@r
25 =7)
26 {
27 bonus
28 bLongAtkRate,5;
29 if
30 (.@r
31 =9)
32 {
33 bonus2
34 bSkillAtk,"ABC_CHAIN_REACTION_SHOT",10;
35 bonus2
36 bSkillAtk,"ABC_CHAIN_REACTION_SHOT_ATK",10;
37 if
38 (.@r
39 =10)
40 {
41 bonus
42 bCritical,10;
43 if
44 (.@r
45 =11)
46 {
47 bonus2
48 bSkillAtk,"ABC_FRENZY_SHOT",15;
49 bonus2
50 bSkillAtk,"ABC_CHAIN_REACTION_SHOT",5;
51 bonus2
52 bSkillAtk,"ABC_CHAIN_REACTION_SHOT_ATK",5;
53 }
54 }
55 }
56 }
57 }
58 if
59 (.@g
60 =ENCHANTGRADE_D)
61 {
62 bonus
63 bLongAtkRate,10;
64 if
65 (.@g
66 =ENCHANTGRADE_C)
67 {
68 bonus2
69 bAddSize,Size_All,10;
70 if
71 (.@g
72 =ENCHANTGRADE_B)
73 {
74 bonus2
75 bAddRace,RC_All,10;
76 if
77 (.@g
78 =ENCHANTGRADE_A)
79 {
80 bonus2
81 bAddEle,Ele_All,10;
82 }
83 }
84 }
85 } |