Ideas for Stendhal/Magic: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Madmetzger |
imported>Madmetzger |
||
| Line 6: | Line 6: | ||
== Design idea == |
== Design idea == |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | ** 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 |
* Spells use mana |
||
** necessary attributes called mana and base_mana are already there {{done}} |
** necessary attributes called mana and base_mana are already there {{done}} |
||
| Line 36: | Line 25: | ||
** Quests per nature that allow player to buy spells from a shop |
** Quests per nature that allow player to buy spells from a shop |
||
** Reward of those quests could be a first spell additionally to being allowed to buy |
** Reward of those quests could be a first spell additionally to being allowed to buy |
||
== Defining spells == |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | ** 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 |
||
== Spell Ideas == |
== Spell Ideas == |
||