| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bMaxHPrate,10;
9 bonus
10 bMaxSPrate,10;
11 bonus
12 bMdef,10;
13 bonus
14 bPAtk,.@r/2;
15 bonus
16 bSMatk,.@r/2;
17 bonus2
18 bAddClass,Class_All,5*(.@r/3);
19 bonus
20 bMatkRate,5*(.@r/3);
21 if
22 (getpetinfo(PETINFO_EGGID)
23 ==
24 9027)
25 {
26 bonus
27 bBaseAtk,30;
28 bonus
29 bMatk,30;
30 bonus2
31 bHPDrainRate,30,5;
32 if
33 (getpetinfo(PETINFO_INTIMATE)
34 =
35 PET_INTIMATE_LOYAL)
36 {
37 bonus
38 bAspd,2;
39 bonus
40 bVariableCastrate,-10;
41 }
42 }
43 if
44 (.@r
45 =11)
46 {
47 autobonus
48 "{
49 bonus
50 bInt,70;
51 }",60,20000,BF_MAGIC;
52 autobonus
53 "{
54 bonus
55 bStr,70;
56 }",60,20000,BF_WEAPON;
57 if
58 (.@r
59 =12)
60 {
61 bonus
62 bFixedCastrate,-50;
63 }
64 }
65 if
66 (.@g
67 =ENCHANTGRADE_D)
68 {
69 bonus
70 bMaxHPrate,10;
71 bonus
72 bMaxSPrate,10;
73 if
74 (.@g
75 =ENCHANTGRADE_C)
76 {
77 bonus
78 bDelayrate,-15;
79 if
80 (.@g
81 =ENCHANTGRADE_B)
82 {
83 bonus
84 bPow,12;
85 bonus
86 bSpl,12;
87 }
88 }
89 } |