| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 bonus
10 bMatkRate,5;
11 bonus
12 bAtkRate,5;
13 bonus2
14 bSkillAtk,"CD_PETITIO",10;
15 bonus2
16 bSkillAtk,"AB_DUPLELIGHT_MELEE",3*(.@r/2);
17 bonus2
18 bSkillAtk,"AB_DUPLELIGHT_MAGIC",3*(.@r/2);
19 if
20 (.@r
21 =7)
22 {
23 bonus
24 bAspdRate,10;
25 if
26 (.@r
27 =9)
28 {
29 bonus2
30 bSkillAtk,"AB_DUPLELIGHT_MELEE",30;
31 bonus2
32 bSkillAtk,"AB_DUPLELIGHT_MAGIC",30;
33 if
34 (.@r
35 =11)
36 {
37 bonus2
38 bMagicAtkEle,Ele_Holy,15;
39 }
40 }
41 }
42 if
43 (.@g
44 =
45 ENCHANTGRADE_D)
46 {
47 bonus2
48 bSkillAtk,"CD_PETITIO",5;
49 if
50 (.@g
51 =
52 ENCHANTGRADE_C)
53 {
54 bonus
55 bSMatk,1;
56 bonus2
57 bSkillAtk,"CD_PETITIO",8;
58 if
59 (.@g
60 =
61 ENCHANTGRADE_B)
62 {
63 bonus
64 bSpl,1;
65 bonus2
66 bSkillAtk,"CD_PETITIO",12;
67 }
68 }
69 } |