.@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;