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

@@ -517,6 +517,7 @@ void writeMonstersToXml(ticpp::Printer&& data, cScenario& scenario) {
data.PushElement(boost::lexical_cast<std::string>(dmg), monst.resist[dmg]);
}
if(monst.mindless) data.PushElement("fear", true);
if(monst.amorphous) data.PushElement("assassinate", true);
if(monst.invuln) data.PushElement("all", true);
data.CloseElement("immunity");