物品脚本 (Script)
.@g = getenchantgrade();
.@r = getrefine();
bonus bPow,1;
bonus bCon,1;
if (.@r>=7) {
bonus bVariableCastrate,-10;
if (.@r>=9) {
bonus bLongAtkRate,10;
bonus bShortAtkRate,10;
if (.@r>=11) {
bonus bDelayrate,-10;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bAtkRate,3;
bonus bPow,5;
bonus bCon,5;
if (.@g>=ENCHANTGRADE_C) {
bonus bLongAtkRate,5;
bonus bShortAtkRate,5;
bonus bPAtk,2;
if (.@g>=ENCHANTGRADE_B) {
bonus bPAtk,1;
if (.@g>=ENCHANTGRADE_A) {
bonus bAtkRate,2;
}
}
}
}