summaryrefslogtreecommitdiff
path: root/vampirism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vampirism.patch')
-rw-r--r--vampirism.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/vampirism.patch b/vampirism.patch
index 256903a..776d9a1 100644
--- a/vampirism.patch
+++ b/vampirism.patch
@@ -559,6 +559,16 @@
static const trait_id trait_VOMITOUS( "VOMITOUS" );
static const trait_id trait_WEB_SPINNER( "WEB_SPINNER" );
static const trait_id trait_WEB_WEAVER( "WEB_WEAVER" );
+@@ -251,7 +251,8 @@
+
+ void Character::suffer_while_underwater()
+ {
+- if( !has_trait( trait_GILLS ) && !has_trait( trait_GILLS_CEPH ) ) {
++ if( !has_trait( trait_GILLS ) && !has_trait( trait_GILLS_CEPH ) &&
++ !has_trait( trait_VAMP_SKIN ) ) {
+ oxygen--;
+ }
+ if( oxygen < 12 && worn_with_flag( "REBREATHER" ) ) {
@@ -751,7 +751,8 @@
return;
}