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