Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 autobonus
10 "{
11 bonus2
12 bHPRegenRate,2500,1000;
13 }",1,4000,BF_WEAPON;
14 bonus
15 bMatk,10*(.@r/2);
16 bonus
17 bBaseAtk,10*(.@r/2);
18 bonus2
19 bSkillAtk,"AB_DUPLELIGHT_MELEE",18*(.@r/3);
20 bonus2
21 bSkillAtk,"AB_DUPLELIGHT_MAGIC",18*(.@r/3);
22 if
23 (.@r
24 =7)
25 {
26 bonus2
27 bMagicAtkEle,Ele_Holy,15;
28 bonus
29 bAspdRate,10;
30 if
31 (.@r
32 =9)
33 {
34 bonus
35 bMatkRate,5;
36 bonus
37 bAtkRate,5;
38 bonus2
39 bSkillAtk,"AB_DUPLELIGHT_MELEE",30;
40 bonus2
41 bSkillAtk,"AB_DUPLELIGHT_MAGIC",30;
42 if
43 (.@r
44 =11)
45 {
46 bonus2
47 bAddSize,Size_All,15;
48 bonus2
49 bMagicAddSize,Size_All,15;
50 bonus
51 bShortAtkRate,15;
52 }
53 }
54 }
55 if
56 (.@g
57 =
58 ENCHANTGRADE_D)
59 {
60 bonus
61 bAtkRate,3;
62 bonus2
63 bSkillAtk,"CD_PETITIO",10;
64 if
65 (.@g
66 =
67 ENCHANTGRADE_C)
68 {
69 bonus
70 bLongAtkRate,15;
71 bonus
72 bPAtk,1;
73 if
74 (.@g
75 =
76 ENCHANTGRADE_B)
77 {
78 bonus2
79 bSkillAtk,"CD_PETITIO",10;
80 }
81 }
82 } |