| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bMatk,10*(.@r/2);
9 bonus
10 bBaseAtk,10*(.@r/2);
11 bonus2
12 bSkillAtk,"TR_ROSEBLOSSOM",4*(.@r/3);
13 bonus2
14 bSkillAtk,"TR_ROSEBLOSSOM_ATK",4*(.@r/3);
15 bonus2
16 bSkillAtk,"TR_METALIC_FURY",4*(.@r/3);
17 if
18 (.@r
19 =7)
20 {
21 bonus
22 bVariableCastrate,-15;
23 if
24 (.@r
25 =9)
26 {
27 bonus
28 bLongAtkRate,10;
29 bonus2
30 bMagicAtkEle,Ele_All,10;
31 if
32 (.@r
33 =11)
34 {
35 bonus2
36 bMagicAddEle,Ele_All,5;
37 bonus2
38 bAddEle,Ele_All,5;
39 bonus
40 bMatkRate,5;
41 bonus
42 bAtkRate,5;
43 }
44 }
45 }
46 if
47 (.@g
48 =ENCHANTGRADE_D)
49 {
50 bonus
51 bPAtk,3;
52 bonus
53 bSMatk,3;
54 bonus
55 bPow,5;
56 bonus
57 bSpl,5;
58 bonus
59 bCon,5;
60 if
61 (.@g
62 =ENCHANTGRADE_C)
63 {
64 bonus
65 bLongAtkRate,10;
66 bonus2
67 bMagicAtkEle,Ele_All,10;
68 if
69 (.@g
70 =ENCHANTGRADE_B)
71 {
72 bonus2
73 bAddRace,RC_All,5;
74 bonus2
75 bAddRace,RC_Player_Human,-5;
76 bonus2
77 bAddRace,RC_Player_Doram,-5;
78 bonus2
79 bMagicAddRace,RC_All,5;
80 bonus2
81 bMagicAddRace,RC_Player_Human,-5;
82 bonus2
83 bMagicAddRace,RC_Player_Doram,-5;
84 bonus
85 bMatkRate,5;
86 bonus
87 bAtkRate,5;
88 if
89 (.@g
90 =ENCHANTGRADE_A)
91 {
92 bonus
93 bLongAtkRate,15;
94 bonus2
95 bMagicAtkEle,Ele_All,15;
96 bonus
97 bPAtk,5;
98 bonus
99 bSMatk,5;
100 }
101 }
102 }
103 } |