Item Use Script
|
1 .@r = min(14,getrefine());
2 bonus bMatkRate,.@r;
3 bonus bUnbreakableWeapon;
4 if (.@r>5) {
5 .@bonus1 = 5;
6 .@bonus2 = (.@r-5) * 2;
7 }
8 if (.@r>8) {
9 bonus5 bAutoSpellOnSkill,"WZ_STORMGUST","MG_SAFETYWALL",10,200,1;
10 bonus5 bAutoSpellOnSkill,"WZ_METEOR","MG_SAFETYWALL",10,200,1;
11 bonus5 bAutoSpellOnSkill,"WZ_VERMILION","MG_SAFETYWALL",10,200,1;
12 }
13 bonus2 bMagicAddRace,RC_DemiHuman,15+.@bonus2;
14 bonus2 bMagicAddRace,RC_Player_Human,15+.@bonus2;
15 bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,25+.@bonus1+.@bonus2;
16 bonus2 bIgnoreMdefRaceRate,RC_Player_Human,25+.@bonus1+.@bonus2;
|