only have one weapon since this would mean they'd never replace it again with a 1-handed weapon to pair another weapon with.
Remove orc warlords from Beogh reinforcement and increase chance for plain orcs.
Change "Heel!" command to "Come here!" because "Heel!" looks completely out of place for intelligent followers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4764 c06c8d41-db1a-0410-9941-cceddc491573
47RJZCYIM3B7IXJT7FFT6NBZZREY6REK5DZWKZ5E7G66BXEXFN6QC
SBTVKHKZRMVDBYLGQNMZMJXPAYJG43UWBBD7HQJWIPN3BMMHUBJAC
NRIZKLUO26UHNKB4IERXI6ECMD2IJYZACQNIUU3SH6BPLGHAJYVAC
CRU7JBTVJWTTVQ5JTRA2B3X2FPKPJ2RRR33IK2OG536VMOEZJYJAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
INWKDE6QMV7PUWMZ65IZTUF4WB2G2OR2Q2NPTNID4Y3NVD7JWN3AC
QS3ZRS3E6KL3YJHPKYEWCWJYRBJSXD5OOYF6Y25HZVECGPJRDB5QC
NVSFIV2ZKP44XHCSCXG6OZVGL67OIFINC34J2EMKTA4KULCERUEAC
L5W2SXCJEVQOLRIN2IQO3AITQGHAS7PYSL4I7M5BQMG7MYZ2AQQQC
ACYR3YL7DTTIJP3N7ITQ5IRAWSRW23VQTGJHBDAATXW6LXMSA4AAC
RKFHYYANUZQHOWOE6YHVFFJNCZU7X67FWUQPQFF6KJKMNIKXFWEAC
JJULXW764V5C2HJKZNWQAEWB6QM5YZADD7ZCE35LYTBFEM6PMYCAC
NVK2OISSU4XF2CGSK2BAWZE2OPCLTXYHNSE6UDJ5M54EHY2I7BLAC
Y2NYY7HWFZ2LQDK3ACSLGS37F2J2IJ5LRGCIMZYXLEOSVPD3A4DAC
UBJ3K77N3ESM5ZHZAND4FDTONECSSB3NUNL6QQA7ATSESSCW5QUQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
MNYDF64QY6NHYKOAFOGBQJFYU7TZDILXRV23EXJPN4IZOCLSJ2AQC
// Don't drop weapons specific to the monster.
if (_is_signature_weapon(this, *weap))
continue;
if (is_range_weapon(*weap))
continue;
// Don't drop weapons specific to the monster.
if (_is_signature_weapon(this, *weap))
continue;
has_melee = true;
if (mons_weapon_damage_rating(*weap) < mdam_rating)
return (drop_item(i, near) && pickup(item, i, near));
}
else
// If the new weapon is better than the current one, replace it.
// If wielding two weapons, replace the one with the lower dam. rating.
if (mons_weapon_damage_rating(*weap) < mdam_rating
&& ( eslot == -1 // current is main weapon
|| !weap->cursed()
&& mons_weapon_damage_rating(*weap)
< mons_weapon_damage_rating(*mslot_item(MSLOT_WEAPON)) ))
{
if (eslot == MSLOT_ALT_WEAPON && inv[MSLOT_WEAPON] == NON_ITEM)
eslot = MSLOT_WEAPON;
// No slot found to place this item.
if (eslot == -1)
return false;
// Current item cannot be dropped.
if (inv[eslot] != NON_ITEM && !drop_item(eslot, near))
return false;
// Monsters that are capable of dual wielding won't pick up shields.
// Neither will monsters that are already wielding a two-hander.
if (is_shield(item)
&& (mons_wields_two_weapons(this)
|| mslot_item(MSLOT_WEAPON)
&& hands_reqd(*mslot_item(MSLOT_WEAPON), body_size(PSIZE_BODY))
== HANDS_TWO))
{
return (false);
}
// Monsters that are capable of dual wielding won't pick up shields.
// Neither will monsters that are already wielding a two-hander.
if (mslot == MSLOT_SHIELD
&& (mons_wields_two_weapons(this)
|| mslot_item(MSLOT_WEAPON)
&& hands_reqd(*mslot_item(MSLOT_WEAPON), body_size(PSIZE_BODY))
== HANDS_TWO))
{
return (false);
}
// Monsters capable of dual-wielding will always prefer two weapons
// to a single two-handed one, however strong.
if (mons_wields_two_weapons(this)
&& hands_reqd(item, body_size(PSIZE_BODY)) == HANDS_TWO
&& mslot_item(MSLOT_ALT_WEAPON))
{
return (false);
}