mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 14:14:48 +00:00
Cleanup Damage Handling Logic for CNPC+ and DBC Addon for better readability / context. Added Magic Data Support to Abilities
This commit is contained in:
1 parent
b3dc23a23e
commit
e4e2466a6e
2 files changed
+22
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package noppes.npcs.api.ability;
|
||||
|
||||
import noppes.npcs.api.INbt;
|
||||
import noppes.npcs.api.handler.data.IMagicData;
|
||||
|
||||
/**
|
||||
* Interface for NPC abilities.
|
||||
@@ -343,4 +344,11 @@ public interface IAbility extends IAbilityAction {
|
||||
* @return the label, or null if none set.
|
||||
*/
|
||||
String getToggleStateLabel(int state);
|
||||
|
||||
/**
|
||||
* Get this ability's magic data. Defines magic types, damage splits,
|
||||
* and flat magic damage for this ability. Inherited by spawned energy entities.
|
||||
* @return the ability's magic data
|
||||
*/
|
||||
IMagicData getMagicData();
|
||||
}
|
||||
Reference in new issue
Block a user