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