Opened 9 years ago
Closed 9 years ago
#953 closed bug (wontfix)
Fix the slay cache w.r.t. ALLOW_TEMPLATES
Reported by: | magnate | Owned by: | magnate |
---|---|---|---|
Milestone: | 3.1.2 beta | Keywords: | cleanup |
Cc: |
Description
If ALLOW_TEMPLATES is false, the edit file post-processing functions are not called. Currently there are only two: eval_r_power and eval_e_slays. The former is unnecessary because monster power is stored in the monster data structure, but the absence of the slay cache will cause the game to crash.
The obvious solution is to add the slay multiplier to the ego item structure, which means a rewrite of eval_e_slays and corresponding changes to object_power.
Change History (3)
comment:1 Changed 9 years ago by magnate
- Status changed from new to assigned
comment:2 Changed 9 years ago by magnate
comment:3 Changed 9 years ago by magnate
- Resolution set to wontfix
- Status changed from assigned to closed
[13e41e7] (SVN r1697) renders this unnecessary.
Note: See
TracTickets for help on using
tickets.
Not doing this because Takkaria has expressed a desire to do away with .raw files permanently. That would mean that ALLOW_TEMPLATES is always true, and this then ceases to be a bug. Will review before 3.1.2 is released.