(String details)
| 15 | } |
| 16 | |
| 17 | @Override |
| 18 | protected void parse(String details) { |
| 19 | if ("Affinity".equalsIgnoreCase(details)) { |
| 20 | type = "Permanent.withAffinity"; |
| 21 | descType = "Affinity"; |
| 22 | reminderType = "permanent with affinity"; // technically the reminder says "permanent you control with affinity", but thats a TestCard |
| 23 | } else if ("Outlaw".equalsIgnoreCase(details)) { |
| 24 | type = "Permanent.Outlaw"; |
| 25 | descType = "outlaws"; |
| 26 | reminderType = Lang.getInstance().buildValidDesc(CardType.Constant.OUTLAW_TYPES, true); |
| 27 | } else if ("Historic".equalsIgnoreCase(details)) { |
| 28 | type = "Permanent.Historic"; |
| 29 | descType = "historic permanents"; |
| 30 | reminderType = "artifact, legendary, and/or Saga permanent"; |
| 31 | } else if (details.contains(":")) { |
| 32 | String k[]; |
| 33 | k = details.split(":"); |
| 34 | type = k[0]; |
| 35 | descType = Lang.getPlural(k[1]); |
| 36 | reminderType = k[1]; |
| 37 | } else { |
| 38 | type = details; |
| 39 | descType = CardType.getPluralType(type); |
| 40 | reminderType = Lang.getInstance().buildValidDesc(Arrays.asList(type.split(",")), true); |
| 41 | } |
| 42 | } |
| 43 | } |
nothing calls this directly
no test coverage detected