| Item Use Script |
1 .@g
2 =
3 getenchantgrade();
4 .@r
5 =
6 getrefine();
7 bonus
8 bUnbreakableWeapon;
9 bonus
10 bMatkRate,5;
11 if
12 (BaseLevel
13 =210)
14 {
15 bonus
16 bSMatk,1;
17 bonus
18 bSpl,2;
19 }
20 if
21 (.@r
22 =7)
23 {
24 bonus2
25 bMagicAtkEle,Ele_Holy,10;
26 bonus
27 bVariableCastrate,-10;
28 if
29 (.@r
30 =9)
31 {
32 bonus2
33 bMagicAddRace,RC_All,15;
34 bonus2
35 bMagicAddRace,RC_Player_Human,-15;
36 bonus2
37 bMagicAddRace,RC_Player_Doram,-15;
38 if
39 (.@r
40 =11)
41 {
42 bonus2
43 bSkillAtk,"AB_ADORAMUS",30;
44 }
45 }
46 }
47 if
48 (.@g
49 =
50 ENCHANTGRADE_D)
51 {
52 bonus
53 bMatkRate,3;
54 if
55 (.@g
56 =
57 ENCHANTGRADE_C)
58 {
59 bonus2
60 bMagicAtkEle,Ele_Holy,15;
61 bonus
62 bSMatk,1;
63 if
64 (.@g
65 =
66 ENCHANTGRADE_B)
67 {
68 bonus
69 bSMatk,2;
70 bonus
71 bSpl,3;
72 }
73 }
74 }
75 bonus2
76 bMagicAtkEle,Ele_Holy,(.@r/2);
77 bonus2
78 bSkillAtk,"AB_ADORAMUS",5*(.@r/3); |