Antonio's Coat

Item ID 15249 Name Antonio's Coat
A replica of Antonio's coat. Once worn, you feel like you could become the NEW Antonio.
_______________________
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +7:
MDEF +5
Perfect Dodge +1
Indestructible in battle
_______________________
Refine Level +8:
MDEF +10
Perfect Dodge +1
Decreases damage taken from Demi-Human race by 7%.
_______________________
Refine Level +9:
MDEF +15
Perfect Dodge +1
Decreases damage taken from Critical Slash by 100%.
_______________________
When equipped with Antonio Card:
DEF +250
Decreases damage taken from all elemental attacks by 5%.
Enables the use of Level 1 Teleport.
Disables the effects of Antonio Card.
_______________________
Refine Level +7:
Prevents Frozen status
_______________________
Refine Level +9:
Prevents knock back effect.
_______________________
Type: Armor
Defense: 50
Weight: 40
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Antonio_Coat
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 50 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bVariableCastrate,-10;
.@r = getrefine();
if (.@r >= 7) {
   .@mdef = 5;
   .@pd = 1;
   bonus bUnbreakableArmor;
   if (.@r >= 8) {
      .@mdef += 10;
      .@pd += 1;
      bonus2 bSubRace,RC_DemiHuman,7;
   }
   if (.@r >= 9) {
      .@mdef += 15;
      .@pd += 1;
      bonus2 bSubSkill,"NPC_CRITICALSLASH",100;
   }
   bonus bMdef,.@mdef;
   bonus bFlee2,.@pd;
}

Set Script
Antonio's Coat
Antonio Card
.@r = getequiprefinerycnt(EQI_ARMOR);
bonus bDef,250;
bonus2 bSubEle,Ele_All,5;
bonus2 bSubEle,Ele_Dark,-5;
skill "AL_TELEPORT",1;
bonus4 bAutoSpellWhenHit,"AL_TELEPORT",1,-500,0;
if (.@r >= 7) {
   bonus2 bResEff,Eff_Freeze,10000;
   if (.@r >= 9) {
      bonus bNoKnockback;
   }
}