Prism Rangers Scarf

Item ID 20931 Name Prism Rangers Scarf
A beautiful scarf with an iridescent glow.
Feel the power of the four major elements.
_______________________
MaxHP +2%
MaxSP +2%
_______________________
Decreases damage taken from Demi-Human race by 5%.
_______________________
Increases Ranged Physical Damage by 2%.
_______________________
When Warg Rider is Level 3:
Decreases cooldown of Unlimit by 180 seconds.
_______________________
When Camouflage is Level 5:
Decreases After Skill Delay by of all skills by 10%.
Decreases Arrow Storm skill cooldown by 0.2 seconds.
_______________________
For each Level of Aimed Bolt:
Increases Ranged Physical Damage by additional 2%.
Increases damage of Arrow Storm by 1%.
_______________________
When Prism Rangers Scarf is unequipped
Unlimit effect is canceled.
_______________________
Refine Level +5:
MaxHP, MaxSP +3%
Increases Ranged Physical Damage by additional 3%.
_______________________
Refine Level +7:
MaxHP, MaxSP +5%
Increases Ranged Physical Damage by additional 5%.
_______________________
When equipped with Fire Arrow:
Decreases damage taken from Fire elemental attacks by 75%.
_______________________
When equipped with Crystal Arrow:
Decreases damage taken from Water elemental attacks by 75%.
_______________________
When equipped with Arrow of Wind:
Decreases damage taken from Wind elemental attacks by 75%.
_______________________
When equipped with Stone Arrow:
Decreases damage taken from Earth elemental attacks by 75%.
_______________________
Type: Garment
Defense: 12
Weight: 30
Armor Level: 1
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Rainbow_Scarf_Jp
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 12 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 30 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus2 bSubRace,RC_DemiHuman,5;
bonus2 bSubRace,RC_Player_Human,5;
if (.@r >= 7) {
   .@val = 10;
} else if (.@r >= 5) {
   .@val = 5;
}
else {
   .@val = 2;
}
bonus bMaxHPrate,.@val;
bonus bMaxSPrate,.@val;
bonus bLongAtkRate,.@val+2*getskilllv("RA_AIMEDBOLT");
if (getskilllv("RA_WUGRIDER") == 3) {
   bonus2 bSkillCooldown,"RA_UNLIMIT",-180000;
}
if (getskilllv("RA_CAMOUFLAGE") == 5) {
   bonus bDelayrate,-10;
}
bonus2 bSkillCooldown,"RA_ARROWSTORM",-200;
bonus2 bSkillAtk,"RA_ARROWSTORM",getskilllv("RA_AIMEDBOLT");
Unequip Script
sc_end SC_UNLIMIT;

Set Script
Prism Rangers Scarf
Fire Arrow
bonus2 bSubEle,Ele_Fire,75;
Prism Rangers Scarf
Crystal Arrow
bonus2 bSubEle,Ele_Water,75;
Prism Rangers Scarf
Arrow of Wind
bonus2 bSubEle,Ele_Wind,75;
Prism Rangers Scarf
Stone Arrow
bonus2 bSubEle,Ele_Earth,75;