Separate "Splits When Hit" from "Immune to Assassinate"

This commit is contained in:
2015-10-01 22:53:32 -04:00
parent 0a97824033
commit f6183cad63
12 changed files with 19 additions and 3 deletions

View File

@@ -1442,6 +1442,10 @@ void readMonstersFromXml(ticpp::Document&& data, cScenario& scenario) {
resist->GetText(&val);
if(val == "true")
the_mon.mindless = true;
} else if(type == "assassinate") {
resist->GetText(&val);
if(val == "true")
the_mon.amorphous = true;
} else try {
eDamageType dmg = boost::lexical_cast<eDamageType>(type);
resist->GetText(&the_mon.resist[dmg]);