Difference between revisions of "Monster speed"

From CrawlWiki
Jump to: navigation, search
(Redirected page to Movement#Monster Speed)
 
(it's clear that monster speed is different from player movement (monster speed applies to ALL actions), so make it a separate page)
Line 1: Line 1:
#REDIRECT[[Movement#Monster Speed]]
+
{{version030}}
 +
A monster's '''speed''' determines how many actions a monster gets per turn. The higher the speed, the faster a monster is.
 +
 
 +
==Displaying Speed==
 +
In game (as of [[0.31]]), monster speed is displayed as a percentage. A monster at 100% speed makes 1 action per 1.0 [[decaAut]]. A monster at 200% speed makes 2 actions per 1.0 decaAut, a monster at 50% speed makes 0.5 actions per 1.0 decaAut, and so on.
 +
 
 +
In the wiki, monster speed is displayed as a value, where 1 speed = 10% speed. So a monster listed as 10 speed in the wiki will be displayed as 100% speed in game.
 +
 
 +
By default, speed applies to all actions. However, a monster may have a modifier to specific types of actions. For example, [[ogre (monster)|ogres]] attack at 67% speed (in game display). In the wiki, this modifier is listed as (attack: 150%) - it takes 150% the time to make an attack.
 +
 
 +
==Useful Info==
 +
Speed is a measure of how fast a monster moves. A 100% speed monster makes 1 action every 1.0 decaAut (every 1.0 turn) of the player's time.
 +
 
 +
Speed is deterministic. For example, a 150% speed monster makes an average of 1.5 actions every 1.0 decaAut.
 +
*If the player [[wait]]s for 1 turn, the monster gets to act either once or twice.
 +
*However, this monster will ''always'' take 3 actions for every 2.0 decaAut. So if the monster acts twice in 1.0 turn, it will only act once in the next 1.0 turn.
 +
 
 +
===Speed vs Delay===
 +
The player's actions are measured in ''delay'', or how long the action takes. The higher the delay, the slower an action, so delay is the inverse of speed. You can convert speed (percentage) to delay, and vice versa, with the following formulas:
 +
*<code>speed% = 100% * (1.0 / delay)</code>
 +
*<code>delay = 1.0 * (100% / Speed%)</code> decaAut (rounded to the nearest tenth)
 +
 
 +
For example, a monster at 200% speed has a delay of 0.5 decaAut.
 +
 
 +
===Energy===
 +
In the game's code, speed is used to accumulate units of energy. For every 1 speed, a monster gets 1 energy per 1.0 [[decaAut]]. Unless modified, it takes 10 units of energy to make one action.

Revision as of 20:17, 17 December 2023

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

A monster's speed determines how many actions a monster gets per turn. The higher the speed, the faster a monster is.

Displaying Speed

In game (as of 0.31), monster speed is displayed as a percentage. A monster at 100% speed makes 1 action per 1.0 decaAut. A monster at 200% speed makes 2 actions per 1.0 decaAut, a monster at 50% speed makes 0.5 actions per 1.0 decaAut, and so on.

In the wiki, monster speed is displayed as a value, where 1 speed = 10% speed. So a monster listed as 10 speed in the wiki will be displayed as 100% speed in game.

By default, speed applies to all actions. However, a monster may have a modifier to specific types of actions. For example, ogres attack at 67% speed (in game display). In the wiki, this modifier is listed as (attack: 150%) - it takes 150% the time to make an attack.

Useful Info

Speed is a measure of how fast a monster moves. A 100% speed monster makes 1 action every 1.0 decaAut (every 1.0 turn) of the player's time.

Speed is deterministic. For example, a 150% speed monster makes an average of 1.5 actions every 1.0 decaAut.

  • If the player waits for 1 turn, the monster gets to act either once or twice.
  • However, this monster will always take 3 actions for every 2.0 decaAut. So if the monster acts twice in 1.0 turn, it will only act once in the next 1.0 turn.

Speed vs Delay

The player's actions are measured in delay, or how long the action takes. The higher the delay, the slower an action, so delay is the inverse of speed. You can convert speed (percentage) to delay, and vice versa, with the following formulas:

  • speed% = 100% * (1.0 / delay)
  • delay = 1.0 * (100% / Speed%) decaAut (rounded to the nearest tenth)

For example, a monster at 200% speed has a delay of 0.5 decaAut.

Energy

In the game's code, speed is used to accumulate units of energy. For every 1 speed, a monster gets 1 energy per 1.0 decaAut. Unless modified, it takes 10 units of energy to make one action.