Created
January 7, 2020 18:46
-
-
Save Chris-plus-alphanumericgibberish/864b8ef76f016ca1523064a38e26dd40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* level-draining effect doesn't actually need blood, it drains life force */ | |
if ((uncancelled || (attk->adtyp == AD_VAMP && notmcan)) | |
&& !Drain_res(mdef) | |
&& !(pa == &mons[PM_VAMPIRE_BAT] && !(youdef ? u.usleep : mdef->msleeping)) /* vampire bats need sleeping victims */ | |
&& !rn2(3) | |
) { | |
if(attk->aatyp == AT_VINE && youdef && !HSterile){ | |
You_feel("old."); | |
HSterile |= FROMOUTSIDE; | |
return MM_HIT; | |
} | |
/* blood bloaters split (but not the player) */ | |
if (!youagr && pa == &mons[PM_BLOOD_BLOATER]){ | |
(void)split_mon(magr, 0); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment