use of eidolons.entity.active.DC_QuickItemAction in project Eidolons by IDemiurge.
the class AnimMaster3d method getPotionKey.
private static String getPotionKey(DC_ActiveObj activeObj) {
DC_QuickItemAction action = (DC_QuickItemAction) activeObj;
boolean full = action.getItem().getIntParam(PARAMS.CHARGES) != 0;
String suffix = full ? "_full" : "_half";
return action.getItem().getName().replace(" ", "_") + suffix;
}
Aggregations