faction stealth is only selectively enabled in E3

do not show spell messages when no items are given (in seduce)
This commit is contained in:
Enno Rehling 2012-03-04 19:24:27 -08:00
parent 05aba860f0
commit 71d9f68b3e
2 changed files with 8 additions and 7 deletions

View File

@ -130,7 +130,7 @@
<param name="world.era" value="3"/> <param name="world.era" value="3"/>
<param name="rules.migrants" value="0"/> <param name="rules.migrants" value="0"/>
<param name="rules.transfermen" value="0"/> <param name="rules.transfermen" value="0"/>
<param name="rules.stealth.faction" value="1"/> <param name="rules.stealth.faction" value="2"/>
<param name="rules.stealth.anon_battle" value="0"/> <param name="rules.stealth.anon_battle" value="0"/>
<param name="rules.check_overload" value="0"/> <param name="rules.check_overload" value="0"/>
<param name="rules.combat.goblinbonus" value="3"/> <param name="rules.combat.goblinbonus" value="3"/>

View File

@ -4171,12 +4171,13 @@ static int sp_seduce(castorder * co)
itmp = &itm->next; itmp = &itm->next;
} }
if (items) {
ADDMSG(&mage->faction->msgs, msg_message("seduce_effect_0", "mage unit items", ADDMSG(&mage->faction->msgs, msg_message("seduce_effect_0", "mage unit items",
mage, target, items)); mage, target, items));
i_freeall(&items); i_freeall(&items);
ADDMSG(&target->faction->msgs, msg_message("seduce_effect_1", "unit", ADDMSG(&target->faction->msgs, msg_message("seduce_effect_1", "unit",
target)); target));
}
return cast_level; return cast_level;
} }