Conversation
- Add StatType enum with 7 stat types (damage, defense, health, etc.) - Add ItemStats immutable value object with builder pattern - Add EquipmentSlot enum for armor and weapon slots - Add PlayerStats for managing player's total stats
- Implement damage calculation with attack/defense stats - Add critical hit calculation with chance and damage - Add dodge chance calculation - Add lifesteal healing calculation
- Add StatType enum tests - Add ItemStats builder and immutability tests - Add PlayerStats equipment management tests - Add DamageCalculator calculation tests
- Add LoreTemplate for customizable lore format - Add LoreManager for parsing and generating item lore - Support config-based pattern matching for exact format - Handle color codes (section and ampersand formats)
- Add ConfigManager for loading and caching config.yml - Add MessageManager for localized messages - Support weapon pattern matching with wildcards - Load stat limits and calculation settings
- Add PlayerStatsCache with ConcurrentHashMap - Add PluginMetrics for tracking parse/combat operations - Add MetricsLogTask for periodic debug logging
- Test config-based pattern parsing - Test lore generation with templates - Test stat modification operations - Test color code stripping
- Add PlayerStatsService for managing player stats - Add CombatService for handling combat calculations - Add ItemLoreService for item lore operations - Integrate with domain services and infrastructure
- Add /pls command with subcommands - Implement help, reload, stats, edit commands - Add tab completion support - Support Korean alias /로어
- Add EquipmentListener for detecting armor/weapon changes - Add CombatListener for applying stats to combat - Handle player join/quit events for stat updates - Support PVP-only mode configuration
- Add LoreEditGui for visual stat editing - Support click controls (left/right, shift modifiers) - Add StatUpdateTask for periodic stat refresh - Handle inventory close and save operations
- Add config.yml with stat settings and lore formats - Add messages.yml for localized messages - Support customizable lore format patterns - Include weapon type patterns with wildcards
- Update main plugin class with dependency injection - Wire all services, listeners, and commands - Add Korean command alias /로어 - Support hot-reload with component recreation
- Test configuration reload functionality - Verify service recreation after reload - Test stats update after config changes
- Set version to 1.0.0
- Configure JAR filename as PVPLoreStat-{version}.jar
- Add test dependencies (JUnit, Mockito, MockBukkit)
- Add project overview and features - Document all stats and calculation formulas - Add installation and configuration guide - Include command/permission reference - Add GUI editor usage instructions - Document API for developers - Add FAQ section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
아이템 로어에서 스탯을 파싱하여 PVP 전투에 적용하는 시스템을 구현합니다. 공격력, 방어력, 체력, 피흡수, 치명타, 회피율 등 7가지 스탯을 지원하며, GUI 에디터와 커스터마이징 가능한 설정 시스템을 포함합니다.
변경 유형
관련 이슈
closes #1
closes #2
closes #3
closes #4
closes #5
변경 사항
테스트 방법
./gradlew build로 빌드 및 테스트 실행§c⚔ 공격력 §f+100)/pls stats로 스탯 확인/pls edit로 GUI 에디터 테스트체크리스트