(Spell sp, List<? extends CDOMList<Spell>> lists, PlayerCharacter aPC)
| 67 | } |
| 68 | |
| 69 | public static Integer[] levelForKey(Spell sp, List<? extends CDOMList<Spell>> lists, PlayerCharacter aPC) |
| 70 | { |
| 71 | List<Integer> list = new ArrayList<>(); |
| 72 | |
| 73 | if (lists != null) |
| 74 | { |
| 75 | for (CDOMList<Spell> spellList : lists) |
| 76 | { |
| 77 | list.add(getFirstLvlForKey(sp, spellList, aPC)); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | return list.toArray(new Integer[0]); |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Retrieve the first level that the pc receives the spell from the specified list. Note that this only returns |
no test coverage detected