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