Changes how clumsy checks are handled (#6299)

This pr adds the is_clumsy check, that checks if the mob has the mutation or if they are drunk enough. This fixes a bug where mobs would still have the clumsy mutation due to drinking.
This commit is contained in:
Alberyk
2019-04-14 19:45:45 +03:00
committed by Erki
parent 0cc7d1388e
commit aa70b6cffb
28 changed files with 57 additions and 33 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
report("Scan Complete: No antibodies detected.", user)
return
if (CLUMSY in user.mutations && prob(50))
if (user.is_clumsy() && prob(50))
// I was tempted to be really evil and rot13 the output.
report("Antibodies detected: [reverse_text(antigens2string(C.antibodies))]", user)
else