Buddha: Difference between revisions
Jump to navigation
Jump to search
Bug:If the player has X HP and gets dealt any damage between (X-0.001) and (X-0.500), they will die. Health is stored as an integer, and damage as a float. The game rounds damage taken to the nearest integer prior and subtracts it from the player's health value, which can bypass the 1 health point barrier. [todo tested in ?]
SirYodaJedi (talk | contribs) m (→See also) |
No edit summary |
||
Line 4: | Line 4: | ||
{{bug|If the player has X HP and gets dealt any damage between (X-0.001) and (X-0.500), they will die. Health is stored as an integer, and damage as a float. The game rounds damage taken to the nearest integer prior and subtracts it from the player's health value, which can bypass the 1 health point barrier.}} | {{bug|If the player has X HP and gets dealt any damage between (X-0.001) and (X-0.500), they will die. Health is stored as an integer, and damage as a float. The game rounds damage taken to the nearest integer prior and subtracts it from the player's health value, which can bypass the 1 health point barrier.}} | ||
{{note|In {{l4d2|4}} used number represents amount of survivors that must remain standing (non-incapacitated). So for example with buddha 1, last survivor standing will get the buddha, buddha 2 = last 2 survivors standing will have buddha effect etc.}} | |||
==See also== | ==See also== | ||
* {{cmd|god}}, a console command that makes you take no damage at all. | * {{cmd|god}}, a console command that makes you take no damage at all. |
Revision as of 10:43, 17 September 2024
buddha
is a console command available in all Source games. It ensures you never die by always forcing you to have at least 1 health point.
To enable and disable, type buddha
in the console. If it worked, it should say "Buddha Mode on/off..." in the console.

Note:
See also
- god, a console command that makes you take no damage at all.