|
|
@ -295,14 +295,12 @@ public enum ForgeManager implements Runnable { |
|
|
|
EffectsBase prefix = PowersManager.getEffectByToken(forgedItem.prefixToken); |
|
|
|
EffectsBase prefix = PowersManager.getEffectByToken(forgedItem.prefixToken); |
|
|
|
AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(prefix.getIDString()); |
|
|
|
AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(prefix.getIDString()); |
|
|
|
abstractPowerAction.applyEffectForItem(forgedItem, 0); |
|
|
|
abstractPowerAction.applyEffectForItem(forgedItem, 0); |
|
|
|
forgedItem.getEffectNames().add(prefix.getName()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (forgedItem.prefixToken != 0) { |
|
|
|
if (forgedItem.prefixToken != 0) { |
|
|
|
EffectsBase suffix = PowersManager.getEffectByToken(forgedItem.suffixToken); |
|
|
|
EffectsBase suffix = PowersManager.getEffectByToken(forgedItem.suffixToken); |
|
|
|
AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(suffix.getIDString()); |
|
|
|
AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(suffix.getIDString()); |
|
|
|
abstractPowerAction.applyEffectForItem(forgedItem, 0); |
|
|
|
abstractPowerAction.applyEffectForItem(forgedItem, 0); |
|
|
|
forgedItem.getEffectNames().add(suffix.getName()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|