(PlayerCharacter pc, Spell spell)
| 59 | } |
| 60 | |
| 61 | @Override |
| 62 | public boolean allow(PlayerCharacter pc, Spell spell) |
| 63 | { |
| 64 | ClassSpellList list = spelllist.get(); |
| 65 | DataSetID datasetID = pc.getCharID().getDatasetID(); |
| 66 | |
| 67 | for (AvailableSpell availSpell : masterAvailableSpellFacet.getMatchingSpellsInList(list, datasetID, spell)) |
| 68 | { |
| 69 | int level = availSpell.getLevel(); |
| 70 | if (level >= 0 && allow(pc, level, "", spell, list)) |
| 71 | { |
| 72 | return true; |
| 73 | } |
| 74 | } |
| 75 | return false; |
| 76 | } |
| 77 | |
| 78 | @Override |
| 79 | public GroupingState getGroupingState() |
nothing calls this directly
no test coverage detected