Browse Source

Work on adding modifiers

combat-2
MagicBot 7 months ago
parent
commit
2c87e48178
  1. 4
      src/engine/gameManager/ForgeManager.java

4
src/engine/gameManager/ForgeManager.java

@ -298,10 +298,10 @@ public enum ForgeManager implements Runnable {
EffectsBase suffix = PowersManager.getEffectByToken(forgedItem.suffixToken); EffectsBase suffix = PowersManager.getEffectByToken(forgedItem.suffixToken);
EffectsBase suffixEffect = PowersManager.getEffectByIDString(suffix.getIDString() + 'A'); EffectsBase suffixEffect = PowersManager.getEffectByIDString(suffix.getIDString() + 'A');
if (forgedItem.prefixToken != 0) // if (forgedItem.prefixToken != 0)
// ItemManager.applyPrefixOrSuffix(forgedItem, prefixEffect.ac); // ItemManager.applyPrefixOrSuffix(forgedItem, prefixEffect.ac);
if (forgedItem.suffixToken != 0) // if (forgedItem.suffixToken != 0)
// ItemManager.applyPrefixOrSuffix(forgedItem, suffixEffect); // ItemManager.applyPrefixOrSuffix(forgedItem, suffixEffect);
} }

Loading…
Cancel
Save