mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Remove Ki Cost from base Ability - DBC-specific concern
Ki Cost belongs in the DBC Addon's DBCAbilityStats system, not in the base ability infrastructure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
61405add97
commit
e466ef6771
1 file changed
-17
@@ -110,9 +110,6 @@ public abstract class Ability implements IAbility {
|
||||
protected boolean burstReplayAnimations = true;
|
||||
protected boolean burstOverlap = false; // if true, don't wait for entity death between bursts
|
||||
|
||||
// Ki
|
||||
protected int kiCost = 0;
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
// EXECUTION STATE (not saved, reset each combat)
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
@@ -1152,9 +1149,6 @@ public abstract class Ability implements IAbility {
|
||||
nbt.setBoolean("burstReplayAnimations", burstReplayAnimations);
|
||||
nbt.setBoolean("burstOverlap", burstOverlap);
|
||||
|
||||
// Ki
|
||||
nbt.setInteger("kiCost", kiCost);
|
||||
|
||||
// Conditions
|
||||
NBTTagList condList = new NBTTagList();
|
||||
for (Condition c : conditions) condList.appendTag(c.writeNBT());
|
||||
@@ -1218,9 +1212,6 @@ public abstract class Ability implements IAbility {
|
||||
burstReplayAnimations = nbt.getBoolean("burstReplayAnimations");
|
||||
burstOverlap = nbt.getBoolean("burstOverlap");
|
||||
|
||||
// Ki
|
||||
kiCost = nbt.getInteger("kiCost");
|
||||
|
||||
// Conditions
|
||||
conditions.clear();
|
||||
NBTTagList condList = nbt.getTagList("conditions", 10);
|
||||
@@ -1760,14 +1751,6 @@ public abstract class Ability implements IAbility {
|
||||
return burstIndex;
|
||||
}
|
||||
|
||||
public int getKiCost() {
|
||||
return kiCost;
|
||||
}
|
||||
|
||||
public void setKiCost(int kiCost) {
|
||||
this.kiCost = kiCost;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get display keys for rotation phase dropdown (excludes "None" since mode=FREE handles that).
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user