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