Item Use Script |
.@r = getrefine();
.@g = getenchantgrade();
bonus bMdef,15;
bonus bUseSPrate,10;
bonus bBaseAtk,10*(.@r/2);
bonus bMatk,10*(.@r/2);
bonus2 bMagicAtkEle,Ele_Holy,10*(.@r/3);
bonus2 bMagicAtkEle,Ele_Neutral,10*(.@r/3);
bonus2 bSkillAtk,"SR_RIDEINLIGHTNING",20*(.@r/3);
if (.@r>=7) {
bonus bVariableCastrate,-10;
if (.@r>=9) {
bonus bAtkRate,7;
bonus bMatkRate,7;
if (.@r>=11) {
bonus2 bAddRace,RC_All,10;
bonus2 bMagicAddRace,RC_All,10;
if (.@r>=12) {
bonus2 bSkillCooldown,"SR_RIDEINLIGHTNING",-500;
bonus2 bSkillCooldown,"AB_ADORAMUS",-1000;
}
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bPAtk,2;
bonus bSMatk,2;
if (.@g>=ENCHANTGRADE_C) {
autobonus "{ bonus bAtkRate,25; bonus bMatkRate,25; }",30,10000,BF_WEAPON|BF_MAGIC;
if (.@g>=ENCHANTGRADE_B) {
if (.@r>=12)
bonus bFixedCast,-500;
}
}
} |