Item Use Script
|
1 .@r
2 =
3 min(14,getrefine());
4 bonus
5 bMatkRate,.@r;
6 bonus
7 bUnbreakableWeapon;
8 if
9 (.@r
10 5)
11 {
12 .@bonus1
13 =
14 5;
15 .@bonus2
16 =
17 (.@r-5)
18 *
19 2;
20 }
21 if
22 (.@r
23 8)
24 {
25 bonus5
26 bAutoSpellOnSkill,"WZ_STORMGUST","MG_SAFETYWALL",10,200,1;
27 bonus5
28 bAutoSpellOnSkill,"WZ_METEOR","MG_SAFETYWALL",10,200,1;
29 bonus5
30 bAutoSpellOnSkill,"WZ_VERMILION","MG_SAFETYWALL",10,200,1;
31 }
32 bonus2
33 bMagicAddRace,RC_DemiHuman,15+.@bonus2;
34 bonus2
35 bMagicAddRace,RC_Player_Human,15+.@bonus2;
36 bonus2
37 bIgnoreMdefRaceRate,RC_DemiHuman,25+.@bonus1+.@bonus2;
38 bonus2
39 bIgnoreMdefRaceRate,RC_Player_Human,25+.@bonus1+.@bonus2;
|