Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 bonus
10 bMatkRate,10;
11 bonus2
12 bSkillAtk,"AG_CRIMSON_ARROW",10;
13 bonus2
14 bSkillAtk,"AG_CRIMSON_ARROW_ATK",10;
15 bonus2
16 bSkillAtk,"AG_FROZEN_SLASH",10;
17 bonus2
18 bSkillAtk,"WL_FROSTMISTY",3*(.@r/2);
19 bonus2
20 bSkillAtk,"WL_CRIMSONROCK",3*(.@r/2);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bVariableCastrate,-10;
27 if
28 (.@r
29 =9)
30 {
31 bonus2
32 bSkillAtk,"WL_FROSTMISTY",25;
33 bonus2
34 bSkillAtk,"WL_CRIMSONROCK",25;
35 if
36 (.@r
37 =11)
38 {
39 bonus2
40 bMagicAtkEle,Ele_Fire,10;
41 bonus2
42 bMagicAtkEle,Ele_Water,10;
43 }
44 }
45 }
46 if
47 (.@g
48 =
49 ENCHANTGRADE_D)
50 {
51 bonus2
52 bSkillAtk,"AG_CRIMSON_ARROW",5;
53 bonus2
54 bSkillAtk,"AG_CRIMSON_ARROW_ATK",5;
55 bonus2
56 bSkillAtk,"AG_FROZEN_SLASH",5;
57 if
58 (.@g
59 =
60 ENCHANTGRADE_C)
61 {
62 bonus
63 bSMatk,1;
64 bonus2
65 bSkillAtk,"AG_CRIMSON_ARROW",8;
66 bonus2
67 bSkillAtk,"AG_CRIMSON_ARROW_ATK",8;
68 bonus2
69 bSkillAtk,"AG_FROZEN_SLASH",8;
70 if
71 (.@g
72 =
73 ENCHANTGRADE_B)
74 {
75 bonus
76 bSpl,2;
77 bonus2
78 bSkillAtk,"AG_CRIMSON_ARROW",12;
79 bonus2
80 bSkillAtk,"AG_CRIMSON_ARROW_ATK",12;
81 bonus2
82 bSkillAtk,"AG_FROZEN_SLASH",12;
83 }
84 }
85 } |