diff --git a/lib/src/core/engine/ad_service.dart b/lib/src/core/engine/ad_service.dart index 56f1ed5..e2a3f19 100644 --- a/lib/src/core/engine/ad_service.dart +++ b/lib/src/core/engine/ad_service.dart @@ -76,12 +76,12 @@ class AdService { // ───────────────────────────────────────────────────────────────────────── static const String _prodRewardedAndroid = 'ca-app-pub-6691216385521068/3457464395'; // Android 리워드 광고 - static const String _prodRewardedIos = - 'ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX'; // TODO: iOS 리워드 광고 ID 교체 + // TODO(ios): AdMob iOS 광고 ID — iOS 출시 전 필수 교체 + static const String _prodRewardedIos = _testRewardedIos; static const String _prodInterstitialAndroid = 'ca-app-pub-6691216385521068/1625507977'; // Android 인터스티셜 광고 - static const String _prodInterstitialIos = - 'ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX'; // TODO: iOS 인터스티셜 광고 ID 교체 + // TODO(ios): AdMob iOS 광고 ID — iOS 출시 전 필수 교체 + static const String _prodInterstitialIos = _testInterstitialIos; /// 리워드 광고 단위 ID (릴리즈 빌드: 프로덕션 ID, 디버그 빌드: 테스트 ID) String get _rewardAdUnitId { diff --git a/lib/src/core/engine/arena_combat_simulator.dart b/lib/src/core/engine/arena_combat_simulator.dart index 854c2b5..3d60b51 100644 --- a/lib/src/core/engine/arena_combat_simulator.dart +++ b/lib/src/core/engine/arena_combat_simulator.dart @@ -370,8 +370,8 @@ class ArenaCombatSimulator { skill: selectedSkill, player: updatedPlayer, skillSystem: updatedSkillSystem, - playerInt: updatedPlayer.atk ~/ 10, - playerWis: updatedPlayer.def ~/ 10, + playerInt: updatedPlayer.intelligence, + playerWis: updatedPlayer.wis, ); updatedPlayer = skillResult.updatedPlayer; updatedSkillSystem = skillResult.updatedSkillSystem; diff --git a/lib/src/core/engine/death_handler.dart b/lib/src/core/engine/death_handler.dart index 0af2b3a..0f1ff73 100644 --- a/lib/src/core/engine/death_handler.dart +++ b/lib/src/core/engine/death_handler.dart @@ -1,3 +1,5 @@ +import 'package:flutter/foundation.dart'; + import 'package:asciineverdie/src/core/model/equipment_item.dart'; import 'package:asciineverdie/src/core/model/equipment_slot.dart'; import 'package:asciineverdie/src/core/model/game_state.dart'; @@ -104,8 +106,7 @@ class DeathHandler { final roll = state.rng.nextInt(100); // 0~99 final shouldLoseEquipment = roll < lossChancePercent; - // ignore: avoid_print - print( + debugPrint( '[Death] Lv$level lossChance=$lossChancePercent% roll=$roll ' 'shouldLose=$shouldLoseEquipment', ); @@ -157,8 +158,7 @@ class DeathHandler { EquipmentItem.empty(lostItemSlot), ); - // ignore: avoid_print - print('[Death] Lost item: ${lostItem.name} (slot: $lostItemSlot)'); + debugPrint('[Death] Lost item: ${lostItem.name} (slot: $lostItemSlot)'); return ( equipment: newEquipment,