Corrected NPC_COMET ratio and Hero_Judgement_Shawl / Hero_Taget_Suits item script (#3091)

Thanks to @kukuasir1 and @Akaineko-astasi !
This commit is contained in:
Atemo
2018-04-29 15:21:57 +02:00
committed by GitHub
parent 258069daff
commit e7ccee76e4
2 changed files with 3 additions and 3 deletions

View File

@@ -6231,7 +6231,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
case NPC_COMET:
i = (sc ? distance_xy(target->x, target->y, sc->comet_x, sc->comet_y) : 8) / 2;
i = cap_value(i, 1, 4);
skillratio = 2500 + ((skill_lv - i) * 500);
skillratio = 2500 + ((skill_lv - i + 1) * 500);
break;
}