Quests Kill Task Tweaks - Enhanced Kill Tracking System for FTB Quests
This addon for the FTB Quests mod fundamentally reworks the mechanics of the "Kill X Entities" task, solving a common problem faced by many modpacks when using such quests.
Problems with the Standard System
In the original version of FTB Quests, the kill is credited only to the player who dealt the final blow and is shared with the FTB Team. This leads to several significant drawbacks:
- The damage source that killed the entity may be incorrectly tagged as belonging to the owner, especially when using damage methods from other mods
- Multiple players may participate in the kill but not be part of the same FTB Team
- Players may contribute to the fight in ways not involving direct damage dealing (distracting the enemy, healing allies, using potions)
As a result, situations often arise where players don't receive deserved credit for killing an entity.
How the Enhanced System Works
This mod solves these problems by crediting the kill to teams whose members, within 1 minute before the entity's death:
- Dealt damage to the entity
- Had their pets deal damage to the entity
- Took damage from the entity
- Applied negative effects to the entity
- Applied positive effects to a player who dealt damage to the entity or took damage from it
This list will expand as the mod develops - specifically, plans include adding direct compatibility with targeted "healing" methods that aren't beneficial effects, such as spells from magic mods.
Data is stored in an optimized format, and checks are performed as efficiently as possible, so there's virtually no performance impact compared to the standard FTB Quests kill task.