Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bAtkRate,3+(.@r/2);
9 bonus2
10 bSkillAtk,"TR_ROSEBLOSSOM",15+5*(.@r/3);
11 bonus2
12 bSkillAtk,"TR_ROSEBLOSSOM_ATK",15+5*(.@r/3);
13 bonus
14 bBaseAtk,25*(.@r/2);
15 if
16 (.@r
17 =7)
18 {
19 bonus
20 bLongAtkRate,25;
21 if
22 (.@r
23 =9)
24 {
25 bonus
26 bDelayrate,-10;
27 bonus
28 bPAtk,7;
29 if
30 (.@r
31 =11)
32 {
33 bonus2
34 bSkillAtk,"TR_ROSEBLOSSOM",15;
35 bonus2
36 bSkillAtk,"TR_ROSEBLOSSOM_ATK",15;
37 }
38 }
39 }
40 if
41 (.@g
42 =ENCHANTGRADE_D)
43 {
44 bonus
45 bPAtk,5;
46 if
47 (.@g
48 =ENCHANTGRADE_C)
49 {
50 bonus2
51 bSkillAtk,"TR_ROSEBLOSSOM",15;
52 bonus2
53 bSkillAtk,"TR_ROSEBLOSSOM_ATK",15;
54 if
55 (.@g
56 =ENCHANTGRADE_B)
57 {
58 bonus
59 bLongAtkRate,10;
60 if
61 (.@g
62 =ENCHANTGRADE_A)
63 {
64 bonus
65 bPAtk,3*(.@r/2);
66 }
67 }
68 }
69 } |