Menu

#5 Code Review: Ensure all magic uses new magic APIs (consistency)

Meta-6.0
open
nobody
None
Enhancement
medium
2011-08-24
2011-08-24
Patrick
No

Meta6 (codebase) adds an updated magic API (see common/magic/magic.c) to implement spells. Spells should use these new functions rather than re-implement them for each spell. The APIs of note are: CheckMana(), CheckResist(), ResistMsg(), CheckHelpfulSpellTarget(), CheckHarmfulSpellTarget().

This ticket covers a code review of:

  • Mage
  • Cleric
  • Druid
  • Lich
  • Ninja
  • Fire Elemental

Discussion


Log in to post a comment.

MongoDB Logo MongoDB