Item Use Script
|
1 .@r
2 =
3 getrefine();
4 bonus
5 bUnbreakableWeapon;
6 bonus
7 bMatkRate,2;
8 bonus
9 bMatk,160+(3*.@r)+3*(min(BaseLevel,195)/15);
10 if
11 (.@r
12 =7)
13 {
14 .@val
15 =
16 getskilllv("SA_AUTOSPELL");
17 bonus2
18 bMagicAtkEle,Ele_Fire,.@val;
19 bonus2
20 bMagicAtkEle,Ele_Earth,.@val;
21 bonus2
22 bMagicAtkEle,Ele_Water,.@val;
23 bonus2
24 bMagicAtkEle,Ele_Wind,.@val;
25 }
26 if
27 (.@r
28 =9)
29 {
30 bonus
31 bAspd,1;
32 bonus2
33 bSkillAtk,"WZ_HEAVENDRIVE",25;
34 bonus2
35 bSkillAtk,"WZ_EARTHSPIKE",25;
36 bonus2
37 bSkillAtk,"MG_LIGHTNINGBOLT",25;
38 }
39 if
40 (.@r
41 =11)
42 {
43 bonus2
44 bMagicAtkEle,Ele_Fire,15;
45 bonus2
46 bMagicAtkEle,Ele_Earth,15;
47 bonus2
48 bMagicAtkEle,Ele_Water,15;
49 bonus2
50 bMagicAtkEle,Ele_Wind,15;
51 bonus
52 bAspd,1;
53 }
54 if
55 (.@r
56 =13)
57 {
58 bonus2
59 bSkillAtk,"WZ_HEAVENDRIVE",15;
60 bonus2
61 bSkillAtk,"WZ_EARTHSPIKE",15;
62 bonus2
63 bSkillAtk,"MG_LIGHTNINGBOLT",15;
64 }
|