Neev Rifle

Item ID 28235 Name Neev Rifle
A rifle with the strength to hold the power of Neve.
_______________________
Base Level at least 175:
ATK +5%, MATK +5%
_______________________
For each 10 base INT:
Increases damage of Hammer of God by 7%.
_______________________
Base INT at least 110:
Increases damage of Hammer of God by additional 30%.
_______________________
When equipped with Neev Barrette:
For each 10 base STR:
Increases Physical Damage by 1%.

For each 10 base AGI:
Increases Attack Speed by 1%.

For each 10 base VIT:
MaxHP +1%

For each 10 base INT:
MATK +20

For each 10 base DEX:
Decreases Variable Casting Time by 1%.

For each 10 base LUK:
Critical +1

For each Refine Level of Neev Rifle:
ATK +20, MATK +20
_______________________
Type: Rifle
Attack: 170
Weight: 85
Weapon Level: 4
_______________________
Requirement:
Base Level 170
Rebellion
Weapon Level 4 Identifier Neev_Rifle
Attack 170 Type Weapon - Rifle
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Rebellion
Range 9 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 85 Min Equip Level 170
NPC Buy 100,000 Max Equip Level None
NPC Sell 50,000 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus2 bSkillAtk,"RL_HAMMER_OF_GOD",7*(readparam(bInt)/10);
if (readparam(bInt)>=110) {
   bonus2 bSkillAtk,"RL_HAMMER_OF_GOD",30;
}
if (BaseLevel>=175) {
   bonus bAtkRate,5;
   bonus bMatkRate,5;
}

Set Script
Neev Rifle
Neev Barrette
.@r = getequiprefinerycnt(EQI_HAND_R);
.@a = readparam(bStr)/10;
.@b = readparam(bAgi)/10;
.@c = readparam(bVit)/10;
.@d = readparam(bInt)/10;
.@e = readparam(bDex)/10;
.@f = readparam(bLuk)/10;
bonus bAtkRate,.@a;
bonus bBaseAtk,.@r*20;
bonus bAspdRate,.@b;
bonus bMaxHPrate,.@c;
bonus bMatk,.@d+(.@r*20);
bonus bVariableCastrate,-.@e;
bonus bCritical,.@f;
Neev Rifle
Neev Barrette
.@r = getequiprefinerycnt(EQI_HAND_R);
.@a = readparam(bStr)/10;
.@b = readparam(bAgi)/10;
.@c = readparam(bVit)/10;
.@d = readparam(bInt)/10;
.@e = readparam(bDex)/10;
.@f = readparam(bLuk)/10;
bonus bAtkRate,.@a;
bonus bBaseAtk,.@r*20;
bonus bAspdRate,.@b;
bonus bMaxHPrate,.@c;
bonus bMatk,.@d+(.@r*20);
bonus bVariableCastrate,-.@e;
bonus bCritical,.@f;