On 26 January 2011 11:28, Raphael Langella <raphael.lange...@gmail.com> wrote:
> 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.

Sounds good. However, I wouldn't bother with tracking ally
resistances, at least to begin with.

> I wouldn't bother with other resists, as poison is the only one that can be
> completely resisted.

Well reasoned. I agree.

> As a side note, I noticed dragons are only I_ANIMAL. Wouldn't it be more
> appropriate for them to be I_NORMAL, at least for the stronger ones (golden
> and pearl)?

I think that at some point we decided that draconians are the dragons'
intelligent cousins. Allowing for non-unique intelligent dragons would
blur that distinction. (I say "non-unique" because Xtahua is an
obvious exception, but then we've got an intelligent spellcaster slug,
so I guess it's okay if uniques are treated specially.)

Johanna

------------------------------------------------------------------------------
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