物品脚本 (Script)
.@g = getenchantgrade();
.@r = getrefine();
bonus bPow,(readparam(bStr)/25);
if (.@r>=7) {
bonus bPAtk,2;
bonus bAtkRate,5;
if (.@r>=9) {
bonus bCritAtkRate,15;
if (.@r>=11) {
bonus bShortAtkRate,15;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bAtkRate,5;
if (.@g>=ENCHANTGRADE_C) {
bonus bAtkRate,5;
bonus bPow,5;
if (.@g>=ENCHANTGRADE_B) {
bonus bShortAtkRate,10;
if (.@g>=ENCHANTGRADE_A) {
bonus bDelayrate,-10;
bonus bPow,5;
}
}
}
}