Temporal Int Manteau

Item ID 20966 Name Temporal Int Manteau
It must have been made a long time ago, but it is a mysterious cloak that has never been worn or worn out.
Has the ability to strengthen your intelligence.
_______________________
For each 2 Refine Levels:
MATK +10
MATK +1%
_______________________
For each 4 Refine Levels:
Increases Magical Damage with every element by 3%.
_______________________
Refine Level +7:
MATK +7%
_______________________
Refine Level +9:
Ignores 20% physical and magic defense of Animal and Demon race monsters.
_______________________
Refine Level +11:
Ignores additional 10% physical and magic defense of Animal and Demon race monsters.
_______________________
When equipped with Temporal INT Boots or Modified Temporal INT Boots:
MATK +50

Refine Level of Temporal INT Boots or Modified Temporal INT Boots is +10 or higher:
Ignores 30% physical and magic defense of Animal and Demon race monsters.
_______________________
Type: Garment
Defense: 38
Weight: 40
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Temporal_M_Int
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 38 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMatkRate,(.@r/2);
bonus bMatk,10*(.@r/2);
bonus2 bMagicAtkEle,Ele_All,3*(.@r/4);
if (.@r>=7) {
   bonus bMatkRate,7;
}
if (.@r>=9) {
   bonus2 bIgnoreDefRaceRate,RC_Demon,20;
   bonus2 bIgnoreMdefRaceRate,RC_Demon,20;
   bonus2 bIgnoreDefRaceRate,RC_Brute,20;
   bonus2 bIgnoreMdefRaceRate,RC_Brute,20;
}
if (.@r>=11) {
   bonus2 bIgnoreDefRaceRate,RC_Demon,10;
   bonus2 bIgnoreMdefRaceRate,RC_Demon,10;
   bonus2 bIgnoreDefRaceRate,RC_Brute,10;
   bonus2 bIgnoreMdefRaceRate,RC_Brute,10;
}

Set Script
Temporal Int Manteau
Temporal Int Boots
bonus bMatk,50;
if (getequiprefinerycnt(EQI_SHOES) >= 10) {
   bonus2 bIgnoreDefRaceRate,RC_Demon,30;
   bonus2 bIgnoreDefRaceRate,RC_Brute,30;
   bonus2 bIgnoreMdefRaceRate,RC_Demon,30;
   bonus2 bIgnoreMdefRaceRate,RC_Brute,30;
}
Temporal Int Manteau
Modified Intelligence Boots
bonus bMatk,50;
if (getequiprefinerycnt(EQI_SHOES) >= 10) {
   bonus2 bIgnoreDefRaceRate,RC_Demon,30;
   bonus2 bIgnoreDefRaceRate,RC_Brute,30;
   bonus2 bIgnoreMdefRaceRate,RC_Demon,30;
   bonus2 bIgnoreMdefRaceRate,RC_Brute,30;
}
Young Leaf of World Tree (Int)
Robust Magical Armor
Temporal Int Manteau
.@sum = getequiprefinerycnt(EQI_HEAD_MID)+getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_GARMENT);
bonus bVariableCastrate,-10;
if (.@sum >= 14) {
   bonus bMatk,80;
}
if (.@sum >= 18) {
   bonus2 bMagicAtkEle,Ele_All,10;
   bonus bDelayrate,-7;
}
if (.@sum >= 22) {
   bonus2 bMagicAddSize,Size_All,10;
}