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

Method isProjectile

code/src/java/pcgen/core/Equipment.java:530–534  ·  view source on GitHub ↗

Gets the projectile attribute of the Equipment object @return The projectile value

()

Source from the content-addressed store, hash-verified

528 * @return The projectile value
529 */
530 public boolean isProjectile()
531 {
532 // return isType("PROJECTILE");
533 return isRanged() && !isThrown();
534 }
535
536 /**
537 * returns all BonusObj's that are "active"

Callers 1

getRangeMethod · 0.80

Calls 2

isRangedMethod · 0.95
isThrownMethod · 0.95

Tested by

no test coverage detected