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