物品脚本 (Script)
.@g = getenchantgrade();
.@r = getrefine();
bonus bCon,(readparam(bDex)/25);
if (.@r>=7) {
bonus bAtkRate,5;
if (.@r>=9) {
bonus bCritAtkRate,10;
if (.@r>=11) {
bonus bLongAtkRate,10;
}
}
}
if (.@g >= ENCHANTGRADE_D) {
bonus bAtkRate,3;
if (.@g >= ENCHANTGRADE_C) {
bonus bAtkRate,3;
bonus bCon,3;
if (.@g >= ENCHANTGRADE_B) {
bonus bLongAtkRate,10;
if (.@g >= ENCHANTGRADE_A) {
bonus bDelayrate,-10;
}
}
}
}