|
|
|
@ -4,7 +4,6 @@ import engine.loot.WorkOrder;
@@ -4,7 +4,6 @@ import engine.loot.WorkOrder;
|
|
|
|
|
import engine.mbEnums; |
|
|
|
|
import engine.objects.*; |
|
|
|
|
import engine.powers.EffectsBase; |
|
|
|
|
import engine.powers.poweractions.AbstractPowerAction; |
|
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
|
|
|
|
|
|
import java.util.EnumSet; |
|
|
|
@ -227,17 +226,6 @@ public enum ItemManager {
@@ -227,17 +226,6 @@ public enum ItemManager {
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void applyPrefixOrSuffix(Item item, String powerAction) { |
|
|
|
|
|
|
|
|
|
AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(powerAction); |
|
|
|
|
|
|
|
|
|
if (abstractPowerAction == null) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
abstractPowerAction.applyEffectForItem(item, 0); |
|
|
|
|
item.getEffectNames().add(powerAction); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static int validate(WorkOrder workOrder) { |
|
|
|
|
|
|
|
|
|
int validation_result = 0; |
|
|
|
|