module Combat

Defined in:

mechanics/combat.cr
mechanics/scenario.cr

Class Method Summary

Class Method Detail

def self.generate_loot_at(map, xrange, count, *, yrange = 0...map.size.y, &) #

[View source]
def self.generate_units_at(map, xrange, count, *, yrange = 0...map.size.y, &) #

[View source]
def self.generate_units_at_side(map, count, &) #

[View source]
def self.generate_warrior(map, pos, equip) #

[View source]
def self.scenario_camp(world, n_warriors, n_scale) #

[View source]
def self.scenario_complete(world, victory) #

[View source]
def self.scenario_hunt(world, n_warriors, n_scale) #

[View source]
def self.scenario_raid(world) #

[View source]