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 bonus2
14 bSkillAtk,"EM_DIAMOND_STORM",5*(.@r/4);
15 bonus2
16 bSkillAtk,"EM_CONFLAGRATION",5*(.@r/4);
17 bonus2
18 bSkillAtk,"EM_LIGHTNING_LAND",5*(.@r/4);
19 bonus2
20 bSkillAtk,"EM_TERRA_DRIVE",5*(.@r/4);
21 if
22 (.@r
23 =7)
24 {
25 bonus2
26 bMagicAtkEle,Ele_All,10;
27 if
28 (.@r
29 =9)
30 {
31 bonus
32 bSMatk,5;
33 if
34 (.@r
35 =10)
36 {
37 bonus2
38 bMagicAddRace,RC_All,15;
39 bonus2
40 bMagicAddRace,RC_Player_Human,-15;
41 bonus2
42 bMagicAddRace,RC_Player_Doram,-15;
43 if
44 (.@r
45 =11)
46 {
47 bonus
48 bFixedCast,-500;
49 bonus
50 bMatk,50;
51 }
52 }
53 }
54 }
55 if
56 (.@g
57 =ENCHANTGRADE_D)
58 {
59 bonus
60 bSMatk,3;
61 if
62 (.@g
63 =ENCHANTGRADE_C)
64 {
65 bonus
66 bMaxHPrate,3;
67 bonus
68 bMaxSPrate,3;
69 if
70 (.@g
71 =ENCHANTGRADE_B)
72 {
73 bonus2
74 bMagicAtkEle,Ele_All,10;
75 if
76 (.@g
77 =ENCHANTGRADE_A)
78 {
79 bonus2
80 bMagicAddSize,Size_All,15;
81 }
82 }
83 }
84 } |