vibe coded#1677
Open
LotusRPG wants to merge 2 commits into
Open
Conversation
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.
Coped from copilot:
1. ItemStack Refactoring (FabledClass, Skill, FabledAttribute, Data.java)
Supplier<ItemStack>lazy loading with directItemStackfieldsData.parseIcon()/serializeIcon()by removing Codex item type lookups2. Divinity Plugin Integration (DivinityHook.java, StatMechanic, HealMechanic, StatusMechanic, DurabilityMechanic)
DivinityHookmethods:clampStatAmount(),applyStatToMob(),removeStatFromMob()StatMechanicnow respects Divinity's stat caps via clampingHealMechanicapplies Divinity's healing-cast and healing-received multipliersStatusMechanicapplies CC duration multiplier and CC resistance reductionDurabilityMechanicintegrates with Divinity's durability systemPluginChecker.isDivinityActive()tracking3. Bow/Crossbow Attack Indicator Condition (AttackIndicatorCondition.java)
ShootListenercaptures bow/crossbow draw force viaEntityShootBowEventmetadata4. Flag System & Reentrance Protection (FlagManager.java, FlagTrigger.java, FlagExpireTrigger.java)
FlagManagerguards against reentrantclearFlags()calls withclearingEntitiessetFlagTriggerandFlagExpireTriggernow resolve dynamic placeholders ({player},{target},{targetUUID}, custom cast data)FlagExpireTriggerskills add flags during clearing5. Other Mechanics & Conditions Fixes
FlagCondition: Applyfilter()to flag names for dynamic variable resolutionFlagMechanic,FlagToggleMechanic,FlagClearMechanic: Applyfilter()to flag keysDamageMechanic: Added damage flags metadata (crit ignore, dodge ignore, block ignore, bleed/vamp disable, skill crit ignore)RepeatMechanic: Newsingle-instancesetting to cancel previous repeats before starting new onesTargetComponent: Allow self-targeting whenIncludeCasteris notFALSESkill.damage(): Wrapped damage application in try-finally for proper skill damage flag cleanup6. Config Save Refactoring (RegistrationManager.java)
7. New Event (PlayerMaxManaChangeEvent.java)
8. UI & Display Improvements
FabledAttribute.getToolIcon(): Now preserves icon metadata (lore, display name)Skill.getIndicator(): Fixed to preserve item metadata including damage and custom model data