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