Ticket #57 (new feature)

Opened 1 year ago

Last modified 1 year ago

Do spells with edit files (like UnAngband)

Reported by: pmac Assigned to:
Milestone: Future Version:
Keywords: Cc:

Description (Last modified by takkaria)

There are a small number of genuinely diffent spell types. It would be nice to have edit files like UnAngband? to specify spell levels, fail rates, and action. The current model (spells in p_class.txt in a mysterious order) makes it incredibly hard to add new spells.

process_spell_blows &c, with some modification to allow parse of damage, is the critical component, though some cleanup (making more tables) is needed.

Attachments

Change History

03/21/07 22:54:27 changed by pmac

  • milestone set to Future.

04/22/07 13:34:05 changed by takkaria

  • type changed from bug to feature.

04/22/07 22:38:23 changed by pmac

I'd like to see this get scheduled for the next engine/gameplay release (3.1.0?). The spell and object code is seriously flaky, especially now that Lua is out.

04/22/07 22:43:44 changed by pmac

(From tak's email) I would much rather have objects reference spells than I would have spells reference objects as they do now. Otherwise, the lists of numbers are pretty much meaningless to the casual observer.

Also use by-name rather than by-ID links if possible.

04/24/07 18:33:00 changed by takkaria

I think the payoff here is huge-- especially for mouse users. For example, if all items that provide identify can be programatically listed, then you could click on an un-ID'd item in the inventory and have "Identify" as an option.

06/03/07 12:19:31 changed by takkaria

  • component changed from Port-specific to Main game.
  • description changed.

07/08/07 16:48:54 changed by takkaria

  • milestone changed from Future to 3.0.9.

07/14/07 16:21:07 changed by takkaria

  • milestone changed from 3.0.9 to Future.

I think that if the spells are moved to the effects.c framework, then that will do for 3.0.9. So, moving to "Future" again, for now.

07/25/07 10:49:22 changed by takkaria

  • keywords deleted.

Add/Change #57 (Do spells with edit files (like UnAngband))