MCPcopy Create free account
hub / github.com/PCGen/pcgen / lastPassingAspect

Method lastPassingAspect

code/src/java/pcgen/cdom/helper/Aspect.java:394–408  ·  view source on GitHub ↗
(List<Aspect> aspects, PlayerCharacter pc, Ability a)

Source from the content-addressed store, hash-verified

392 }
393
394 public static Aspect lastPassingAspect(List<Aspect> aspects, PlayerCharacter pc, Ability a)
395 {
396 Aspect retAspect = null;
397 if (aspects != null)
398 {
399 for (Aspect testAspect : aspects)
400 {
401 if (testAspect.qualifies(pc, a))
402 {
403 retAspect = testAspect;
404 }
405 }
406 }
407 return retAspect;
408 }
409}

Callers 2

printAspectMethod · 0.95
getHasAspectStringMethod · 0.95

Calls 1

qualifiesMethod · 0.65

Tested by

no test coverage detected