Mechanics

From Heroes of Hammerwatch wiki
Revision as of 11:20, 30 March 2019 by Playmoarnow (talk | contribs) (little more description)
Jump to: navigation, search

Mechanics are the dictations of how the game works. Health, attacks, currencies, etc, are all mechanics. This portion of the wiki describes how each one affects each other. Here we discuss some of the basic functions of mechanics that may pertain to more than only Heroes of Hammerwatch.

Mechanics
Acts Combat Leveling Up Money New Game Plus

Ticks

Heroes of Hammerwatch's mechanical portions run at a rate of 33ms for every tick, or at a rate of 30fps. Much of the game is processed in this 30 fps tickrate, such as DoT timers, speed, collision, etc.

The player is dealt fire or poison damage every 15 ticks, for a total time of 75 ticks, leading to 5 damage hits.

Trap cycles are measured in ticks by the game to know when to fire an arrow, raise and lower spikes, or when the player should be dealt another hit from a spike or flame trap.

Random Number Generators

RNGs are algorithms within code to generate an pseudo-random number that can be used to generate a seemingly random output. This plays a role when deciding what the outcome of "RNG buttons" one may find occasionally in a run will be. Similarly it is used to choose what item tier and item you get from a chest.