forked from github/server
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:
parent
05aba860f0
commit
71d9f68b3e
|
@ -130,7 +130,7 @@
|
|||
<param name="world.era" value="3"/>
|
||||
<param name="rules.migrants" 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.check_overload" value="0"/>
|
||||
<param name="rules.combat.goblinbonus" value="3"/>
|
||||
|
|
|
@ -4171,12 +4171,13 @@ static int sp_seduce(castorder * co)
|
|||
itmp = &itm->next;
|
||||
}
|
||||
|
||||
ADDMSG(&mage->faction->msgs, msg_message("seduce_effect_0", "mage unit items",
|
||||
mage, target, items));
|
||||
i_freeall(&items);
|
||||
ADDMSG(&target->faction->msgs, msg_message("seduce_effect_1", "unit",
|
||||
target));
|
||||
|
||||
if (items) {
|
||||
ADDMSG(&mage->faction->msgs, msg_message("seduce_effect_0", "mage unit items",
|
||||
mage, target, items));
|
||||
i_freeall(&items);
|
||||
ADDMSG(&target->faction->msgs, msg_message("seduce_effect_1", "unit",
|
||||
target));
|
||||
}
|
||||
return cast_level;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue