Commit Graph
170 Commits
Author SHA1 Message Date
Hide_D 21d8507fc5 feat: 죽음 연도에 따른 killturn 계산 로직 추가 및 관련 메타 데이터 수정 2026-01-25 06:17:27 +00:00
Hide_D 5d5ed9ee2a feat: add killturn to general meta and update related tests
- Introduced a new meta property `killturn` to the GeneralMeta interface.
- Implemented a function `readMetaNumber` to handle the retrieval of numeric values from meta.
- Updated the `mapGeneralRow` function to ensure `killturn` is required and properly handled.
- Modified various tests to include the `killturn` property in the general's meta data.
- Adjusted related action files to utilize the new GeneralMeta type for better type safety.
- Ensured backward compatibility by updating existing test cases across multiple scenarios.
2026-01-25 05:48:56 +00:00
Hide_D f199427ff1 refactor: rename RNG method from nextFloat to nextFloat1 for consistency across the codebase 2026-01-24 13:58:12 +00:00
Hide_D a6b195fcaf feat: implement base war unit and specific unit types for city and general
- Added `WarUnit` class as the base for all war units, encapsulating common properties and methods.
- Introduced `WarUnitCity` class to represent city units, including methods for siege mechanics and city-specific calculations.
- Created `WarUnitGeneral` class for general units, incorporating action pipelines and experience handling.
- Implemented various utility functions for calculating attack, defense, and other combat-related metrics.
- Established logging mechanisms for battle results and unit actions.
2026-01-24 13:15:29 +00:00
Hide_D 4e521de0f3 feat: 랜덤 임관 기능 추가 및 관련 명령어 정의 2026-01-24 12:15:30 +00:00
Hide_D 756382d13b feat: 주민 선정 재구현 2026-01-24 12:00:43 +00:00
Hide_D 2ea8e11f50 feat: createNoopDaemonTransport 함수 추가 및 토너먼트 상태 처리 개선, 캘린더 핸들러 반환 타입 수정 2026-01-24 11:36:01 +00:00
Hide_D 9b867e99a4 롤백 2026-01-24 10:37:51 +00:00
Hide_D 2964c8ea59 feat: NPC 징병 및 예약 턴 핸들러 개선, 대형 테스트 맵 인구 수정 2026-01-24 10:32:38 +00:00
Hide_D 753abdaf47 feat: NPC 세금 처리 로직 및 관련 핸들러 추가, 대형 테스트 맵 수정 2026-01-24 10:06:55 +00:00
Hide_D f280ed0c23 feat: 명령어 정규화 및 핸들러 매핑 개선 2026-01-24 05:40:58 +00:00
Hide_D 52be3b40ef feat: implement auction bidding and resource adjustment commands
- Added `adjustGeneralResources` command to handle resource adjustments for generals.
- Introduced `patchGeneral` command for updating general attributes.
- Created `auctionBid` command to facilitate bidding in auctions with validation.
- Refactored database interactions to use transactions for auction bids and resource adjustments.
- Enhanced error handling for auction and resource operations.
- Updated command handling in the turn daemon to support new commands.
- Introduced `AuctionBidder` interface and implementation for managing auction bids.
- Improved overall structure and readability of auction-related code.
2026-01-24 04:25:04 +00:00
Hide_D cbee0d4c20 feat: 국가 메타 업데이트 기능 추가 및 관련 로직 구현 2026-01-24 03:16:05 +00:00
Hide_D 6e439f074d feat: 토너먼트 자동 시작 핸들러 개선 및 관련 기능 추가 2026-01-23 18:58:05 +00:00
Hide_D 4997ef9a1c feat: 토너먼트 보상 처리 기능 추가 및 관련 타입 정의 2026-01-23 17:22:54 +00:00
Hide_D 293a5035c6 feat: 토너먼트 관련 기능 추가 및 베팅 처리 로직 구현 2026-01-23 16:58:59 +00:00
Hide_D 2d87cf881e 토너먼트 준비 2026-01-23 16:45:36 +00:00
Hide_D 1ed9953c67 경매 구현 2026-01-22 18:23:43 +00:00
Hide_D b5b761984e 경매 관련 진행 준비 2026-01-22 17:25:39 +00:00
Hide_D 5b51aad6d0 내무부, 금/쌀수입, 감찰부 구현 2026-01-18 16:40:12 +00:00
Hide_D e2accc31a7 feat: e2e 테스트 실행 및 에러 수정 2026-01-18 13:28:02 +00:00
Hide_D 3ce1f441d0 feat: add unification handler and inheritance system
- Implemented `unificationHandler.ts` to manage nation unification logic, including inheritance point calculations and logging.
- Created `InheritView.vue` for frontend management of inheritance points, buffs, and logs.
- Added database migration for new inheritance tables: `inheritance_point`, `inheritance_log`, `inheritance_result`, and `inheritance_user_state`.
- Developed inheritance buff logic in `inheritBuff.ts` to apply buffs during domestic and war actions.
2026-01-18 10:59:04 +00:00
Hide_D cbe960364d feat: 리소스 스키마 및 검증 스크립트 추가, 기존 스키마 파일 삭제 2026-01-18 08:49:19 +00:00
Hide_D 2f05e5a1e1 feat: zod 라이브러리 버전을 4.3.5로 업데이트 2026-01-18 08:27:36 +00:00
Hide_D 116993b3ad feat: zod 라이브러리 업데이트 및 JSON 스키마 정의 개선 2026-01-18 08:19:22 +00:00
Hide_D 81594a25c3 feat: add resource schemas and validation scripts
- Introduced new resource schemas for maps, scenarios, unit sets, and turn commands using Zod.
- Implemented a script to generate JSON schemas from Zod schemas.
- Added a validation script to ensure resource JSON files conform to their respective schemas.
- Updated the logic package to export new resource schemas.
- Added new dependencies for schema generation and validation.
- Created a tools-scripts package for resource management tasks.
2026-01-18 08:04:02 +00:00
Hide_D 879104622a feat: auth/gameToken 모듈로의 경로 변경 및 tsdown 설정 추가 2026-01-18 06:39:43 +00:00
Hide_D 1b7423e1f6 feat: 여러 아이템의 onCalcStat 함수 개선 및 통일성 있는 statValue 상수화 2026-01-17 16:19:49 +00:00
Hide_D 07ea17dacf feat: refactor utility functions for improved consistency and usability; consolidate parsing logic 2026-01-17 12:36:58 +00:00
Hide_D 0fed50b5a9 feat: refactor realtime event types and payload structure for consistency 2026-01-17 02:18:01 +00:00
Hide_D 56b1c40642 feat: implement real-time event handling and SSE support; add event publishing and subscription mechanisms 2026-01-17 01:39:06 +00:00
Hide_D 7a289c22d9 buildMinConstraints 구현 2026-01-15 17:29:26 +00:00
Hide_D 4a0b18954d Refactor command specifications to use availabilityArgs instead of args
- Updated multiple command specifications across various files to replace 'args' with 'availabilityArgs' for better clarity and consistency in argument handling.
- Removed empty 'args' objects in several command specifications to streamline the code.
- Ensured that all relevant commands in both general and nation action directories reflect these changes.
2026-01-15 16:43:24 +00:00
Hide_D a7b22f0502 커맨드의 arg 타입에 zod 강제. 2026-01-15 16:34:18 +00:00
Hide_D 39e7eddcf7 미구현 커맨드 추가 2026-01-15 15:56:24 +00:00
Hide_D 237e7e73cc feat: add Zod schema validation for command arguments in various action modules
- Introduced `argsSchema` property in `TurnCommandSpecBase` to enforce argument validation using Zod.
- Refactored argument parsing in multiple action modules (e.g., `che_NPC능동`, `che_강행`, `che_건국`, etc.) to utilize Zod schemas for improved type safety and validation.
- Removed redundant manual checks for argument types and replaced them with Zod's validation mechanisms.
- Enhanced code maintainability and readability by centralizing argument validation logic.
2026-01-15 15:27:20 +00:00
Hide_D d1b2076a32 추가 유닛 테스트 2026-01-15 15:02:09 +00:00
Hide_D f12d3cf4fe zod arg parse 작업 진행 2026-01-15 15:01:58 +00:00
Hide_D 24fbace987 lint 로직 변경 2026-01-15 14:58:44 +00:00
Hide_D cc41d1538e 코드 수정 2026-01-11 11:48:12 +00:00
Hide_D 511aade81c 구현 2026-01-11 10:35:12 +00:00
Hide_D 373ddd863d 코드 2026-01-11 10:05:42 +00:00
Hide_D dc0b9271fb 코드 이식 2026-01-11 09:49:22 +00:00
Hide_D 6497b09b9d 사령턴 추가 2026-01-11 03:26:14 +00:00
Hide_D baa913a09c 사령턴 추가 구현 2026-01-10 14:49:39 +00:00
Hide_D f334cc297a ㅍㅍ 2026-01-10 14:04:52 +00:00
Hide_D a6c2077be7 수정 2026-01-10 13:49:33 +00:00
Hide_D 6a7151da4f 테스트 수정 2026-01-10 13:28:59 +00:00
Hide_D 3ec7e66948 constraint 실패 후 실패 검사 결과 항목을 직접 반환. 2026-01-10 13:16:43 +00:00
Hide_D d5d3949705 예턴을 통한 테스트 수정 2026-01-08 16:43:50 +00:00