| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bDex,3*(.@r/2);
9 bonus
10 bCon,.@r/2;
11 bonus
12 bSpl,.@r/2;
13 bonus2
14 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",20*(.@r/3);
15 bonus2
16 bSkillAtk,"CG_ARROWVULCAN",20*(.@r/3);
17 bonus2
18 bSkillAtk,"WM_METALICSOUND",20*(.@r/3);
19 bonus2
20 bSkillAtk,"WM_REVERBERATION",20*(.@r/3);
21 if
22 (.@r
23 =7)
24 {
25 bonus
26 bAtkRate,7;
27 bonus
28 bMatkRate,7;
29 if
30 (.@r
31 =9)
32 {
33 bonus
34 bLongAtkRate,10;
35 bonus2
36 bMagicAtkEle,Ele_All,10;
37 if
38 (.@r
39 =11)
40 {
41 autobonus
42 "{
43 bonus
44 bInt,200;
45 bonus
46 bDex,200;
47 }",30,10000,BF_WEAPON|BF_MAGIC;
48 }
49 }
50 }
51 if
52 (.@g
53 =ENCHANTGRADE_D)
54 {
55 bonus
56 bBaseAtk,20*getskilllv("WM_LESSON");
57 bonus
58 bMatk,20*getskilllv("WM_LESSON");
59 if
60 (.@g
61 =ENCHANTGRADE_C)
62 {
63 bonus
64 bRes,30;
65 bonus
66 bMRes,30;
67 if
68 (.@g
69 =ENCHANTGRADE_B)
70 {
71 bonus
72 bSpl,.@r/2;
73 bonus
74 bCon,.@r/2;
75 if
76 (.@r
77 =ENCHANTGRADE_A)
78 {
79 bonus2
80 bAddEle,Ele_All,12;
81 bonus2
82 bMagicAddEle,Ele_All,12;
83 }
84 }
85 }
86 } |