Commit Graph

7 Commits

Author SHA1 Message Date
Kashargul
387ce22077 crash on 0 (#17026)
* crash on 0

* Update tension.dm

* mobile moment
2025-02-01 14:04:00 -05:00
Guti
409aaba802 Remove 2024-09-09 02:36:53 +02:00
Rykka Stormheart
8e3aca8562 Simplemob Injury System
This adds a lightweight simulation of injury for simplemobs. As simplemobs grow more injured, the time between attacks and movement will increase, same as for players.

Formula here: `round(rand(2,6) * damage_fatigue_mult * clamp(((rand(2,5) * (h / getMaxHealth())) - rand(0,2)), 1, 20))`
Threshold for slowdown/etc starts at 60% by default for mobs.
For any coders reading this in the future™️, set damage_fatigue_mult to 0 to disable this mechanic for your mobs if you need to for whatever reason.
2023-04-02 15:03:53 -07:00
Anewbe
c7e21a5412 Merge pull request #6505 from Heroman3003/tension
Fixes runtime in tension.dm
2019-10-30 21:01:34 -04:00
Mechoid
ae48659a68 Exploration Expansion 1: Or, How I Learned To Love The Tree 2019-08-21 17:23:07 -04:00
Atermonera
2df5e9fe0e Merges AI Branch into Master 2018-12-01 00:06:38 -05:00
Neerti
cca2cc5a23 Adds Berserk 2018-01-11 01:35:14 -05:00