Description Usage Arguments Value Examples
Perform Melee attacks
1 2 3 |
warjack |
list attacker warjack object with elements stats, range and melee and special |
target |
list target warjack object with elements stats and special stats has elements
|
boost_hit |
single logical |
boost_damage |
single logical |
foc |
single numeric |
kd |
single logical |
dice |
numeric vector |
single numeric
1 2 3 4 5 6 7 8 9 10 11 | blueleader <- list(stats = c(SPD = 5, MAT = 7, RAT = 5),
range = list(),
melee = list('quake hammer' = list(stats = c(RNG = 2, PAS = 18),
special = c("crit knockdown")),
'open fist' = list(stats = c(RNG = 0.5, PAS = 14), special = character(0))))
melee(blueleader, target = list(stats = c(DEF = 12, ARM = 18)),
boost_hit = TRUE, boost_damage = TRUE,
foc = 3, dice = rep(6, 9))
melee(blueleader, target = list(stats = c(DEF = 12, ARM = 18)),
kd = TRUE,
boost_hit = FALSE, boost_damage = FALSE, foc = 3, dice = rep(1, 11))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.