Deus Ex Machina

Item ID 550021 Name Deus Ex Machina
Now is the time of the end.
The god of entanglements descends into the dull-colored world of crazy gears.
_______________________
Indestructible in battle
_______________________
MATK +180
_______________________
Decreases damage taken from Players by 10%.
Enables the use of Level 1 Blessing.
_______________________
For each Refine Level:
MaxHP +2% , MaxSP +2%
Decreases After Skill Delay by 1%.
Increases Magical Damage by 6%.
_______________________
Refine Level +5:
Decreases damage taken from ranged physical attacks by 5%.
_______________________
Refine Level +7:
Enables use of Blessing with Level beingt equal to the Refine Level.
_______________________
Refine Level +9:
Decreases damage taken from ranged physical attacks by additional 5%.
_______________________
Refine Level +10:
Decreases Fixed Casting Time by 70%.
_______________________
Type: One-Handed Staff
Attack: 280
Weight: 200
Weapon Level: 4
_______________________
Requirement:
Base Level 100
3rd Magician, 3rd Acolyte and Soul Reaper classes
Weapon Level 4 Identifier Deus_Ex_Machina_JP
Attack 280 Type Weapon - Staff
MATK 180 Equip Locations Main Hand
Defense 0 Equippable Jobs Priest, Wizard, Monk, Sage, Soul Linker
Range 1 Equip Gender Both (Male and Female)
Slots 3 Equip Upper Third, Third Upper, Third Baby
Weight 200 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_Player_Human,10;
bonus2 bSubRace,RC_Player_Doram,10;
skill "AL_BLESSING",1;
bonus bMaxHPrate,2*.@r;
bonus bMaxSPrate,2*.@r;
bonus bDelayrate,-.@r;
bonus bMatkRate,6*.@r;
if (.@r>=5)
   bonus bLongAtkDef,5;
if (.@r>=7)
   skill "AL_BLESSING",min(10,.@r);
if (.@r>=9)
   bonus bLongAtkDef,5;
if (.@r>=10)
   bonus bFixedCastrate,-70;