Divine Bow Gandiva

Item ID 700109 Name Divine Bow Gandiva
None
Weapon Level 5 Identifier Gandiva_Bow_US
Attack 250 Type Weapon - Bow
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Hunter, Bard / Dancer
Range 5 Equip Gender Both (Male and Female)
Slots 2 Equip Upper Third, Third Upper, Third Baby
Weight 10 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus2 bSubClass,Class_Boss,50;
bonus2 bSubRace,RC_Player_Doram,40;
bonus2 bSubRace,RC_Player_Human,40;
bonus bLongAtkRate,40;
if (BaseLevel>=150)
   bonus bLongAtkRate,10*.@r;
if (.@r>=11) {
   bonus bSpeedRate,25;
   bonus bAspd,5;
   if (.@r>=12) {
       bonus bAllStats,15;
       bonus bBaseAtk,50;
       bonus bMatk,50;
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bCritAtkRate,10;
   if (.@g>=ENCHANTGRADE_C) {
       bonus bPow,5;
       bonus bCon,5;
       if (.@g>=ENCHANTGRADE_B) {
            bonus bPAtk,20;
            if (.@g>=ENCHANTGRADE_A) {
                bonus bLongAtkRate,20;
            }
       }
   }
}

Set Script
Fire Arrow
Divine Bow Gandiva
bonus bMaxHPrate,15;
bonus bMaxSPrate,15;
if (getequiprefinerycnt(EQI_HAND_R)>=13)
   bonus bLongAtkRate,50;
Holy Arrow
Divine Bow Gandiva
bonus bMaxHPrate,15;
bonus bMaxSPrate,15;
if (getequiprefinerycnt(EQI_HAND_R)>=13)
   bonus bLongAtkRate,50;
Ring of Artemis
Divine Bow Gandiva
bonus bCon,10;
skill "SC_TRIANGLESHOT",10;
if (getequiprefinerycnt(EQI_HAND_R)>=13) {
   bonus2 bSkillAtk,"WH_CRESCIVE_BOLT",30;
   bonus2 bSkillAtk,"WH_GALESTORM",30;
}