luciensadi / AwakeMUD

The Community Edition fork of the 'Awakened Worlds' Shadowrun 3 MUD codebase.
Other
55 stars 31 forks source link

Fix detox spell drug detection #684

Closed jdevnull closed 1 year ago

jdevnull commented 1 year ago

Previously, detox identified the presence of drugs through the drugs' power attribute. Using a bool instead lets detox apply to drugs with 0 power.

jdevnull commented 1 year ago

Two more small fixes:

  1. Adept rapid healing was truncating for odd ratings /2. Fixed by changing order of operations.

  2. There was a report of a morted mob being able to flee. Fixed by having do_flee also check entity's position. In the event that it ever happens, this fix will also prevent sitting, resting, lying, sleeping, stunned, or dead entities from fleeing.

luciensadi commented 1 year ago

Looks good, thanks!