> On Wed, 26 Jan 2011, Raphael Langella wrote:
>> There is still one thing that I'd like to improve with the monster AI. I
>> hate it when intelligent monsters waste turns trying to poison you over and
>> over when you are obviously resisting it. This behaviour is perfectly fine
>> for swamp drakes, but not so much for nagas and draconians. And the recent
>> change only made it slightly worse. Here is how I propose to fix it:
>> Whenever foo resists poison (can be an ally), we check all the monsters. If
>> it is intelligent, has foo as a target and can see it, we set a boolean
>> (target_resists_poison). Then, when evaluating available attacks, we skip
>> the poisonous ones (except poison arrow of course) if the boolean is set. I
>> wouldn't bother with other resists, as poison is the only one that can be
>> completely resisted.

+1 from here too, I'd really like to see that but have never suggested
that because I thought it'd be too complex. :)

off-topic: I have an idea for ugly things that is a little similar.
Ignore this for now, but if it sounds exciting, it'd be cool if it was
added. I'd love it ugly things adapted to their foes. They'd know the
resistances of their foes (maybe after hitting them), and try to morph
into colours that their enemies don't have resists for. This'd make
their cool colour-changing ability more meaningful in play. Also, it
would potentially give a niche for Summon Ugly Thing: a spell that
adapts to the opposition. The spell itself could do a check for enemy
resistances when cast, and produce a good colour against monsters in
view.

--Eino

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Crawl-ref-discuss mailing list
Crawl-ref-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss

Reply via email to