Difference between revisions of "Energy randomisation"

From CrawlWiki
Jump to: navigation, search
m
m (add some details)
Line 1: Line 1:
 
{{version028}}
 
{{version028}}
 +
'''Energy randomisation''' (also called '''random energy''' or '''speed randomisation''') is a game mechanic designed to add unpredictability to monster behavior, and to nerf [[pillar dancing]]. Monsters normally get to take a number of monster turns per player turn based on their speed: fast monsters act more often, slow act less.
 +
 +
Each enemy movement has a 1/3 chance of being either 0.1 turns quicker, 0.1 turns slower, or having normal speed<ref>{{source ref|0.28.0|monster.cc|5570}}</ref>. Random energy accumulates until there is enough energy for an extra move or until there is not enough energy to move at all, which happens with the same probability. For example, an extremely lucky 10 speed monster can get an extra move each 10 turns of movement.
  
'''Energy randomisation''' (also called '''random energy''' or '''speed randomisation''') is a game mechanic designed to add unpredictability to monster behavior, and to nerf [[pillar dancing]]. Monsters normally get to take a number of monster turns per player turn based on their speed: fast monsters act more often, slow act less.  
+
This can give a pursuer enough energy to move ''and'' attack during their turn, or you'll occasionally gain a tile in order to flee upstairs. The aforementioned pillar dancing will eventually create that space, given enough time. A monster can only get energy randomisation while moving; attacking or casting spells requires fixed amounts of energy.
  
However, the game will occasionally and randomly give enemies 90% or 110% of the amount of time they should get. This can give a pursuer an extra attack, or you'll occasionally gain a tile in order to flee upstairs. The aformentioned pillar dancing will eventually create that space, given enough time. A monster can only get energy randomisation when one of its actions is a move.
+
Additionally, friendly monsters' movement speed is intentionally non-random to avoid traffic jams.
  
 
==Name==
 
==Name==
Line 9: Line 12:
  
 
==History==
 
==History==
*Energy randomisation will be removed in [[0.29]], replaced with attacks of opportunity.
+
*Energy randomisation will be removed in [[0.29]], replaced with [[attacks of opportunity]].
 
*In [[0.7]], enemies can no longer spend a random energy turn in order to attack twice.
 
*In [[0.7]], enemies can no longer spend a random energy turn in order to attack twice.
 
*Energy randomisation was first introduced in [[0.6]].  
 
*Energy randomisation was first introduced in [[0.6]].  
 +
 +
==References==
 +
<references />
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]
 
[[Category:Crystal Ball Articles]]
 
[[Category:Crystal Ball Articles]]

Revision as of 14:25, 8 June 2022

Version 0.28: This article may not be up to date for the latest stable release of Crawl.

Energy randomisation (also called random energy or speed randomisation) is a game mechanic designed to add unpredictability to monster behavior, and to nerf pillar dancing. Monsters normally get to take a number of monster turns per player turn based on their speed: fast monsters act more often, slow act less.

Each enemy movement has a 1/3 chance of being either 0.1 turns quicker, 0.1 turns slower, or having normal speed[1]. Random energy accumulates until there is enough energy for an extra move or until there is not enough energy to move at all, which happens with the same probability. For example, an extremely lucky 10 speed monster can get an extra move each 10 turns of movement.

This can give a pursuer enough energy to move and attack during their turn, or you'll occasionally gain a tile in order to flee upstairs. The aforementioned pillar dancing will eventually create that space, given enough time. A monster can only get energy randomisation while moving; attacking or casting spells requires fixed amounts of energy.

Additionally, friendly monsters' movement speed is intentionally non-random to avoid traffic jams.

Name

The name "energy randomisation" comes from the fact that the manner in which monsters move is described as "energy" in Crawl's code, with DEFAULT_ENERGY referring to moving at the same speed as any other action the monster takes. Hence, energy randomisation is inflicting randomness into this "energy". It can also be referred to as "speed randomisation", although this may falsely imply that the randomisation applies to all actions, not just movement.

History

  • Energy randomisation will be removed in 0.29, replaced with attacks of opportunity.
  • In 0.7, enemies can no longer spend a random energy turn in order to attack twice.
  • Energy randomisation was first introduced in 0.6.

References

  1. monster.cc:5570 (0.28.0)