swarm: Simulate swarm attack

Description Usage Arguments

Description

simulates attack by a swarm to an opponent of known AC

Usage

1
2
3
4
5
6
7
8
swarm(
  AC,
  count,
  damageDice,
  attackBonus = 0,
  damageBonus = 0,
  advantage = c("N", "D", "A")
)

Arguments

AC

AC of the opponent

count

number of individuals in the swarm

damageDice

damage dice to roll

attackBonus

bonus to hit

damageBonus

bonus to damage

advantage

N = normal, A = with advantage, D = with disadvantage.


oganm/diceSyntax documentation built on July 21, 2021, 10:58 p.m.