mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 11:59:26 +00:00
Large Unused Attribute Push
This commit is contained in:
1 parent
4faa851078
commit
5818060656
13 files changed
+553
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package noppes.npcs.attribute;
|
||||
|
||||
/**
|
||||
* Registers core (non‑magic) attribute definitions.
|
||||
* For example, main attack damage, health, critical chance, etc.
|
||||
*/
|
||||
public class ModAttributes {
|
||||
public static final AttributeDefinition MAIN_ATTACK_FLAT;
|
||||
public static final AttributeDefinition MAIN_ATTACK_PERCENT;
|
||||
public static final AttributeDefinition HEALTH;
|
||||
public static final AttributeDefinition CRITICAL_CHANCE_PERCENT;
|
||||
public static final AttributeDefinition CRITICAL_DAMAGE_FLAT;
|
||||
|
||||
static {
|
||||
MAIN_ATTACK_FLAT = AttributeController.registerAttribute("cnpc:main_attack_flat", "Main Attack Damage (Flat)", Operation.FLAT);
|
||||
MAIN_ATTACK_PERCENT = AttributeController.registerAttribute("cnpc:main_attack_percent", "Main Attack Damage (%)", Operation.PERCENT);
|
||||
HEALTH = AttributeController.registerAttribute("cnpc:health", "Health", Operation.FLAT);
|
||||
CRITICAL_CHANCE_PERCENT = AttributeController.registerAttribute("cnpc:critical_chance_percent", "Critical Chance (%)", Operation.PERCENT);
|
||||
CRITICAL_DAMAGE_FLAT = AttributeController.registerAttribute("cnpc:critical_damage_flat", "Critical Damage Bonus (Flat)", Operation.FLAT);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user