Master Soul Rifle

Item ID 28255 Name Master Soul Rifle
A rifle with the power of the soul used by those who have reached the Level of Gunmaster, which can handle all firearms skillfully.
It resonates with Ancient Hero's Boots.
_______________________
MATK +210
_______________________
For each 2 Refine Levels:
MATK +10
_______________________
For each 3 Refine Levels:
Increases Attack Speed (decreases After Attack Delay by 3%).
_______________________
Refine Level +7:
ASPD +1
MATK +5%
_______________________
Refine Level +9:
Random chance to auto cast Soul Strike Lv.10 when dealing Ranged Physical Damage.
_______________________
Refine Level +11:
Increases the chance to auto cast Soul Strike and also auto casts Soul Expansion Lv.3 when dealing Ranged Physical Damage.
_______________________
When equipped with Ancient Hero's Boots:
Random chance to increase INT by 20 and Magical Damage with Ghost element by 10% for 7 seconds when dealing magical damage.
_______________________
Type: Rifle
Attack: 150
Weight: 100
Weapon Level: 4
_______________________
Requirement:
Base Level 100
Rebellion
Weapon Level 4 Identifier Master_Soul_Rifle
Attack 150 Type Weapon - Rifle
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Gunslinger, Rebellion
Range 9 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 100 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();
bonus bMatk,210+10*(.@r/3);
bonus bAspdRate,3*(.@r/3);
if (.@r >= 7) {
   bonus bAspd,1;
   bonus bMatkRate,5;
   if (.@r >= 9) {
      .@chance = 1;
      /* unknown rate*/
      if (.@r >= 11) {
         .@chance += 1;
         bonus5 bAutoSpell,"WL_SOULEXPANSION",3,1,BF_LONG,1;
      }
      bonus5 bAutoSpell,"MG_SOULSTRIKE",10,.@chance,BF_LONG,1;
   }
}

Set Script
Ancient Hero Boots
Master Soul Rifle
autobonus "{ bonus bInt,20; bonus2 bMagicAtkEle,Ele_Ghost,10; }",20,7000,BF_MAGIC; /* unknown rate */
[Not For Sale] Ancient Hero Boots
Master Soul Rifle
autobonus "{ bonus bInt,20; bonus2 bMagicAtkEle,Ele_Ghost,10; }",20,7000,BF_MAGIC; /* unknown rate */