refactor(engine): 서비스 로직 정리

- ArenaService, PotionService, ProgressService 개선
- ResurrectionService, SkillService 정리
This commit is contained in:
JiWoong Sul
2026-01-12 16:17:00 +09:00
parent 32ecafd33d
commit 95528786eb
5 changed files with 176 additions and 55 deletions

View File

@@ -375,8 +375,10 @@ class PotionService {
required int typeRoll,
}) {
// 기본 드랍 확률 계산
var dropChance = (baseDropChance + playerLevel * dropChancePerLevel)
.clamp(baseDropChance, maxDropChance);
var dropChance = (baseDropChance + playerLevel * dropChancePerLevel).clamp(
baseDropChance,
maxDropChance,
);
// 몬스터 등급 보너스 (Elite +5%, Boss +15%)
dropChance += monsterGrade.potionDropBonus;