style: dart format 적용
- 전체 Dart 소스 및 테스트 파일 포매팅 통일 - trailing comma, 줄바꿈, 인덴트 정리
This commit is contained in:
@@ -125,7 +125,10 @@ void main() {
|
||||
// ATK 100 * 2.0 - DEF 50 * 0.3 = 200 - 15 = 185
|
||||
expect(result.result.success, isTrue);
|
||||
expect(result.result.damage, equals(185));
|
||||
expect(result.updatedPlayer.mpCurrent, equals(20)); // 50 - 30 (mpCost 30)
|
||||
expect(
|
||||
result.updatedPlayer.mpCurrent,
|
||||
equals(20),
|
||||
); // 50 - 30 (mpCost 30)
|
||||
expect(result.updatedMonster.hpCurrent, equals(315)); // 500 - 185
|
||||
});
|
||||
|
||||
@@ -349,10 +352,7 @@ void main() {
|
||||
|
||||
const skill = SkillData.memoryDump;
|
||||
// baseDotDamage: 10, baseDotDurationMs: 6000, baseDotTickMs: 1000
|
||||
final player = CombatStats.empty().copyWith(
|
||||
mpMax: 100,
|
||||
mpCurrent: 50,
|
||||
);
|
||||
final player = CombatStats.empty().copyWith(mpMax: 100, mpCurrent: 50);
|
||||
final skillSystem = SkillSystemState.empty().copyWith(elapsedMs: 5000);
|
||||
|
||||
final result = service.useDotSkill(
|
||||
@@ -379,10 +379,7 @@ void main() {
|
||||
final service = SkillService(rng: rng);
|
||||
|
||||
const skill = SkillData.memoryDump;
|
||||
final player = CombatStats.empty().copyWith(
|
||||
mpMax: 100,
|
||||
mpCurrent: 50,
|
||||
);
|
||||
final player = CombatStats.empty().copyWith(mpMax: 100, mpCurrent: 50);
|
||||
final skillSystem = SkillSystemState.empty().copyWith(elapsedMs: 5000);
|
||||
|
||||
final result = service.useDotSkill(
|
||||
@@ -403,10 +400,7 @@ void main() {
|
||||
final service = SkillService(rng: rng);
|
||||
|
||||
const skill = SkillData.memoryDump;
|
||||
final player = CombatStats.empty().copyWith(
|
||||
mpMax: 100,
|
||||
mpCurrent: 50,
|
||||
);
|
||||
final player = CombatStats.empty().copyWith(mpMax: 100, mpCurrent: 50);
|
||||
final skillSystem = SkillSystemState.empty().copyWith(elapsedMs: 5000);
|
||||
|
||||
final result = service.useDotSkill(
|
||||
@@ -555,10 +549,7 @@ void main() {
|
||||
final service = SkillService(rng: rng);
|
||||
|
||||
const skill = SkillData.debugMode; // ATK +25% 버프, mpCost: 100
|
||||
final player = CombatStats.empty().copyWith(
|
||||
mpMax: 200,
|
||||
mpCurrent: 150,
|
||||
);
|
||||
final player = CombatStats.empty().copyWith(mpMax: 200, mpCurrent: 150);
|
||||
final skillSystem = SkillSystemState.empty().copyWith(elapsedMs: 5000);
|
||||
|
||||
final result = service.useBuffSkill(
|
||||
@@ -569,10 +560,7 @@ void main() {
|
||||
|
||||
expect(result.result.success, isTrue);
|
||||
expect(result.result.appliedBuff, isNotNull);
|
||||
expect(
|
||||
result.result.appliedBuff!.effect.atkModifier,
|
||||
equals(0.25),
|
||||
);
|
||||
expect(result.result.appliedBuff!.effect.atkModifier, equals(0.25));
|
||||
expect(result.updatedSkillSystem.activeBuffs.length, equals(1));
|
||||
expect(result.updatedPlayer.mpCurrent, equals(50)); // 150 - 100
|
||||
});
|
||||
@@ -582,10 +570,7 @@ void main() {
|
||||
final service = SkillService(rng: rng);
|
||||
|
||||
const skill = SkillData.debugMode;
|
||||
final player = CombatStats.empty().copyWith(
|
||||
mpMax: 100,
|
||||
mpCurrent: 50,
|
||||
);
|
||||
final player = CombatStats.empty().copyWith(mpMax: 100, mpCurrent: 50);
|
||||
final existingBuff = const ActiveBuff(
|
||||
effect: BuffEffect(
|
||||
id: 'debug_mode_buff',
|
||||
|
||||
Reference in New Issue
Block a user