Fields Builder for Ability GUIs

This commit is contained in:
Kam committed 2026-02-02 18:26:52 -05:00
1 parent 0ff501bb16
commit 911f185400
29 files changed
+1223 -605

No files matched your search

@@ -38,6 +38,13 @@ public class AbilityEffect {
return potionId;
}
public static String[] getLangKeys() {
EffectType[] types = values();
String[] keys = new String[types.length];
for (int i = 0; i < types.length; i++) keys[i] = types[i].langKey;
return keys;
}
public static EffectType fromOrdinal(int ordinal) {
EffectType[] values = values();
if (ordinal >= 0 && ordinal < values.length) {