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

Method attackCycle

code/src/java/pcgen/core/PCClass.java:575–585  ·  view source on GitHub ↗
(final AttackType at)

Source from the content-addressed store, hash-verified

573 * bonuses are.
574 */
575 public int attackCycle(final AttackType at)
576 {
577 for (Map.Entry<AttackType, Integer> me : getMapFor(MapKey.ATTACK_CYCLE).entrySet())
578 {
579 if (at == me.getKey())
580 {
581 return me.getValue();
582 }
583 }
584 return SettingsHandler.getGameAsProperty().get().getBabAttCyc();
585 }
586
587 public int baseAttackBonus(final PlayerCharacter aPC)
588 {

Callers 1

getAttackStringMethod · 0.80

Calls 7

getGameAsPropertyMethod · 0.95
getBabAttCycMethod · 0.80
getKeyMethod · 0.65
getValueMethod · 0.65
getMethod · 0.65
entrySetMethod · 0.45
getMapForMethod · 0.45

Tested by

no test coverage detected