| Item Use Script |
1 .@r
2 =
3 getrefine();
4 .@g
5 =
6 getenchantgrade();
7 bonus
8 bUnbreakableShield;
9 bonus
10 bSMatk,2*(.@r/2);
11 bonus
12 bMatk,30*(.@r/3);
13 if
14 (.@r
15 =10)
16 bonus2
17 bMagicAddEle,Ele_All,20;
18 if
19 (.@r
20 =12)
21 bonus
22 bVariableCast,-30;
23 if
24 (.@r
25 =14)
26 autobonus
27 "{
28 bonus
29 bInt,70;
30 bonus
31 bSpl,70;
32 }",70,20000,BF_WEAPON|BF_MAGIC;
33 if
34 (.@g
35 =ENCHANTGRADE_D)
36 {
37 bonus
38 bMaxHPrate,15;
39 bonus
40 bMaxSPrate,15;
41 if
42 (.@g
43 =ENCHANTGRADE_C)
44 {
45 bonus2
46 bSubEle,Ele_Dark,25;
47 bonus2
48 bSubEle,Ele_Ghost,25;
49 bonus2
50 bSubEle,Ele_Poison,25;
51 if
52 (.@g
53 =ENCHANTGRADE_B)
54 {
55 bonus2
56 bSkillAtk,"LG_RAYOFGENESIS",100;
57 if
58 (.@g
59 =ENCHANTGRADE_A)
60 {
61 bonus5
62 bAutoSpell,"LG_RAYOFGENESIS",7,70,BF_WEAPON|BF_LONG,1;
63 }
64 }
65 }
66 } |