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