Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1431 closed change (fixed (in master))

Implement m_ptr->known_player_flags

Reported by: magnate Owned by: magnate
Milestone: 3.3.0 Keywords: ai
Cc:

Description

[re26b968] temporarily lost some calls to update_smart_learn, for the non-GF flags (DRS_MANA, DRS_FREE, DRS_RES_FEAR etc.). Rather than hack these back in, implement Eddie's idea of allowing each monster to store what it knows of player flags.

Change History (3)

comment:1 Changed 9 years ago by magnate

  • Status changed from new to pending

I have finished this in a branch, but it creates a consequential requirement before I can merge it: p_ptr->state.flags needs to become a bitflag. Since I should never have created it as an array in the first place, I'm quite happy to do this.

comment:2 Changed 9 years ago by magnate

[r157a366]

comment:3 Changed 9 years ago by magnate

  • Resolution set to fixed
  • Status changed from pending to closed

In master as of [r72e6029], Sun 22 May 2011.

Note: See TracTickets for help on using tickets.