Ideas for Stendhal/Magic: Difference between revisions

Content deleted Content added
imported>Madmetzger
imported>Madmetzger
Line 8:
* Spells should be configurable via XML {{done}}
** works so far see light.xml for example in [http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/conf/spells/light.xml?revision=1.3&view=markup CVS]
* Spells should follow the natures defined via the former DamageType {{done}}
* Spells have limitations
** limited casting frequency (cool down time){{done}}
** wearing special equipment{{done}} (example in code)
** spells should need knowledge to learn for casting them
* Spells are separated into 2 parts:
** 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}}
* Spells use mana
** necessary attributes called mana and base_mana are already there {{done}}
* Mana should be regenerated
** via potions