Gambler's Seal

Item ID 410004 Name Gambler's Seal
None
Weapon Level 0 Identifier Gambler_Seal_
Attack 0 Type Armor
MATK 0 Equip Locations Middle Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 70
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable No
Credit Price None Trade restriction None
Item Script
.@dex = readparam(bDex);
.@luk = readparam(bLuk);
.@critical = 3 + (.@luk / 10);
.@critical_dmg = 3 - (.@dex/10) * 2;
.@sub_arrowstorm = 10;
.@sub_gateofhell = 10;
bonus bBaseAtk,(.@luk/10)*2;
bonus bMatk,(.@luk / 10) * 2;
if (.@luk > 107) {
   .@critical += 5;
   .@critical_dmg += 10;
}
if (.@luk > 119) {
   .@critical += 10;
   .@critical_dmg += 17;
   .@sub_arrowstorm += 30;
   .@sub_gateofhell += 30;
}
bonus bCritical,.@critical;
bonus bCritAtkRate,.@critical_dmg;
bonus2 bSubSkill,"RA_ARROWSTORM",.@sub_arrowstorm;
bonus2 bSubSkill,"SR_GATEOFHELL",.@sub_gateofhell;

Set Script
Heart Card in Mouth
Gambler's Seal
.@aspd = 1;
.@crit_dmg = 2 + 2 * (readparam(bDex) / 10);
.@sub_player = 2;
.@luk = readparam(bLuk);
if (.@luk > 107) {
   .@aspd += 1;
   .@crit_dmg += 2;
   .@sub_player += 2;
}
if (.@luk > 119) {
   .@aspd += 2;
   .@crit_dmg += 4;
   .@sub_player += 4;
   bonus bSplashRange,1;
}
bonus bAspd,.@aspd;
bonus bCritAtkRate,.@crit_dmg;
bonus2 bSubRace,RC_Player_Human,.@sub_player;
bonus2 bSubSkill,"NPC_CRITICALSLASH",100;