hits: Calculate the number of hits in a list

Description Usage Arguments Value Examples

View source: R/hits.R

Description

Calculate the number of hits in a list

Usage

1
hits(l)

Arguments

l

A list of logical unit roll results.

Value

The sum of positive roll results.

Examples

1
hits(attack(land_units(i = 6, t = 4)))

kiernann/aaa documentation built on Feb. 10, 2020, 1:23 a.m.