Ideas for Stendhal/Magic: Difference between revisions

Content deleted Content added
imported>Madmetzger
imported>Madmetzger
Line 16:
** The spell itself defining nature, mana use, cool down time and other possible prerequisites like equipment {{done}}
** Spell's effect defining what the spell does i.e. a simple healing spell just uses a healing effect that could be reused for a mass healing spell affecting all players in range {{done}}
** Effects that temporarily affect entity's attributes need changes to other classes, as it seems more reasonable to store changes separately. For example an effect boosting a player's attack should not simply adjust the player's attribute but the method calculating atk should consider such additional effects
* Spells use mana
** necessary attributes called mana and base_mana are already there {{done}}