| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bSMatk,1;
9 if
10 (.@r
11 =7)
12 {
13 bonus2
14 bMagicAddEle,Ele_All,3;
15 bonus2
16 bAddEle,Ele_All,3;
17 if
18 (.@r
19 =9)
20 {
21 bonus2
22 bAddSize,Size_All,3;
23 bonus2
24 bMagicAddSize,Size_All,3;
25 if
26 (.@r
27 =11)
28 {
29 bonus2
30 bMagicAddRace,RC_All,3;
31 bonus2
32 bMagicAddRace,RC_Player_Human,-3;
33 bonus2
34 bMagicAddRace,RC_Player_Doram,-3;
35 bonus2
36 bAddRace,RC_All,3;
37 bonus2
38 bAddRace,RC_Player_Human,-3;
39 bonus2
40 bAddRace,RC_Player_Doram,-3;
41 }
42 }
43 }
44 if
45 (.@g
46 =ENCHANTGRADE_D)
47 {
48 bonus2
49 bAddClass,Class_Normal,2;
50 bonus2
51 bMagicAddClass,Class_Normal,2;
52 bonus2
53 bAddClass,Class_Boss,2;
54 bonus2
55 bMagicAddClass,Class_Boss,2;
56 if
57 (.@g
58 =ENCHANTGRADE_C)
59 {
60 bonus2
61 bAddClass,Class_Normal,1;
62 bonus2
63 bMagicAddClass,Class_Normal,1;
64 bonus2
65 bAddClass,Class_Boss,1;
66 bonus2
67 bMagicAddClass,Class_Boss,1;
68 }
69 } |