Ideas for Stendhal/Magic: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Madmetzger |
imported>AntumDeluge m AntumDeluge moved page Stendhal/ideas/Magic to Ideas for Stendhal/Magic over redirect: Undoing previous move |
||
| (351 intermediate revisions by 6 users not shown) | |||
| Line 19: | Line 19: | ||
== Spell Ideas == |
== Spell Ideas == |
||
=== Sorted === |
|||
* Light |
* Light |
||
** Heal - Heal another player {{done}} |
** Heal - Heal another player [[File:Heal.png]] {{done}} - unless they have engaged in PvP within the last 10 minutes |
||
** Mass heal - heal multiple players around |
** Mass heal - heal multiple players around - unless they have engaged in PvP within the last 10 minutes |
||
** Mana - Mana give for another player from own bottle [[File:Heal_blue.png]] |
|||
** Shield of Light - Increase defense for some time |
** Shield of Light - Increase defense for some time {{done}} |
||
** Knowing - The player has the ability to know what's happened now at this place [[File:Knowing.png]] |
|||
** Adding a sound around the player (should somehow fit to the nature) |
|||
* Dark |
* Dark |
||
** |
** Lifedrain - Draining health from the enemy to heal yourself [[File:Drain.png]] {{done}} |
||
** Become - Forcing an enemy to fight at your side for short time [[File:Become.png]] - (make sense when you under attack from more than one enemy) |
|||
** Adding a sound around the player (should somehow fit to the nature) |
|||
* Ice |
* Ice |
||
** Freeze - Slow down an enemy for some time |
** Freeze - Slow down an enemy for some time [[File:Freeze.png]] {{done}} |
||
** Snow Storm - Push away enemies |
** Snow Storm - Push away enemies should depend on the size of the enemy |
||
** Adding a sound around the player (should somehow fit to the nature) |
|||
* Fire |
* Fire |
||
** |
** Fireball - Ranged attack on one enemy [[File:Fireball.png]] {{done}} |
||
** Explosion - Ranged attack on several enemies + pushing away the enemies around ( + damaging yourself a bit) |
** Explosion - Ranged attack on several enemies + pushing away the enemies around ( + damaging yourself a bit) |
||
** Lava - Ranged attack on several enemies [[File:lava.png]] - stronger than explosion ^^ |
|||
* Unsorted from meeting discussions: |
|||
| ⚫ | |||
** Adding a sound around the player (should somehow fit to the nature) |
|||
=== Unsorted === |
|||
** Teleport away (to a random choice from preset locations) |
** Teleport away (to a random choice from preset locations) |
||
** Freeze creature for short time |
|||
** Cloak of invisibility for short time |
** Cloak of invisibility for short time |
||
::: perhaps only for non-players and only for creature whos level is not much above the caster's level |
|||
| ⚫ | |||
** Weaken creature |
** Weaken creature |
||
** Summon friendly creature |
** Summon friendly creature |
||
| Line 42: | Line 52: | ||
** Return to private house |
** Return to private house |
||
** Make campfire |
** Make campfire |
||
* Vanity spells (no actual affect except some temporary change to appearance, etc) ''these may be good ones to introduce at the beginning for testing the system as they would have less effect on game play'' |
|||
** A drawing effect on the player like a sparkle |
|||
** Colour a pet / sheep |
|||
** Different outfit |
|||
* Walk through walls (care needed to be sure disallowed areas aren't reachable, perhaps only to certain preset portals or if there is a path - just might be a long path without the shortcut) |
|||
=== Needed Changes To Entities === |
|||
Some spell like Freeze or Weaken Creature temporarily affect specific attributes of an entity. As it is reasonable not to change the attributes themselves, it is necessary to add attribute modifiers to an entity. But as this is not the only kind of effects, that can be applied to an entity, this is documented on a separate [[Ideas for Stendhal/Effects|page]] |
|||
== Learning Spells == |
== Learning Spells == |
||
| Line 51: | Line 69: | ||
** Ice - [[Stendhal Quest Ideas/Learn about ice magic]] |
** Ice - [[Stendhal Quest Ideas/Learn about ice magic]] |
||
There could be another quest, that enables the four other quests and rewards you with the necessary items like spellbook or magic wand. The starting NPC could also sell those items if you lost them after having solved that quest |
There could be another quest, that enables the four other quests and rewards you with the necessary items like spellbook or magic wand. The starting NPC could also sell those items if you lost them after having solved that quest: [[Stendhal Quest Ideas/Learn about magic]] |
||
A shop for each nature is available after solving the learning quest for each nature. In those shops players will be able to buy new spells. |
A shop for each nature is available after solving the learning quest for each nature. In those shops players will be able to buy new spells. |
||
| Line 69: | Line 87: | ||
*** spellbook |
*** spellbook |
||
*** magic wand |
*** magic wand |
||
*** |
*** magician's robe |
||
*** magician's hat |
|||
** GUI integration |
** GUI integration |
||
*** Show spells |
*** Show spells |
||
*** Cast spells |
*** Cast spells |
||
*** visual effects |
*** visual effects |
||
**** showing when someone is healed for example |
|||
*** sound effects |
|||
=== Allow early testing {{done}} === |
=== Allow early testing {{done}} === |
||
For being able to test as early as possible there is some code that enables to test the already implemented spells. There are basically three steps to consider: |
For being able to test as early as possible there is some code that enables to test the already implemented spells. There are basically three steps to consider: |
||
| Line 81: | Line 102: | ||
/alter [character] base_mana add 1000 |
/alter [character] base_mana add 1000 |
||
/alter [character] mana add 1000 |
/alter [character] mana add 1000 |
||
* Use spell via slash action ''cast'' (the ''spell id'' can be found in the attributes list when inspecting the spell in the spells panel - for example ''[id=22]'', same for creatures as target): |
|||
* Use spell via slash action ''cast'': |
|||
/cast [spell id] [target name or id] |
/cast [spell id] [target name or id] |
||
* Casting spells is also possible via mouse and keyboard: |
|||
** select spell via shortcut control + number displayed on spell / click on spell to select |
|||
** cast spell at target via click |
|||
* Seeing spells client side needs the feature ''spells'' enabled for the testing player (keyed slot !features needs an entry for ''spells'') |
* Seeing spells client side needs the feature ''spells'' enabled for the testing player (keyed slot !features needs an entry for ''spells'') |
||
/script EnableFeature.class [character] spells |
/script EnableFeature.class [character] spells |
||
This can be undone by the DisableFeature script: |
This can be undone by the DisableFeature script: |
||
/script DisableFeature.class [character] spells |
/script DisableFeature.class [character] spells |
||
=== Ideas on casting spells via GUI === |
|||
* The spell to be casted should be activated in the spell slot by left-clicking on it (it is then highlighted). |
|||
* Casting the spell to an entity could be done by using SHIFT + click or via context menu ("cast fireball"). |
|||
* Healing spells and area effect spells should not be repeated after casting them. |
|||
* Attacking spells should be casted repeatedly until the target is dead. To stop casting the spell you can use the "stop attack" action in the context menu or change the active spell. |
|||
== Graphic Ideas == |
== Graphic Ideas == |
||
{| border="0" |
{| border="0" |
||
|[[File:Spellnatures.png]] || Spell natures (ice, fire, light, dark) |
|[[File:Spellnatures.png]] || Spell natures (ice, fire, light, dark) |
||
|- |
|||
|[[File:Knowing.png]] || Example for the spell "knowing" |
|||
|- |
|- |
||
|[[File:Heal.png]] || Example for the spell "heal" |
|[[File:Heal.png]] || Example for the spell "heal" |
||
|- |
|||
|[[File:Heal_blue.png]] || Example for the spell "mana" |
|||
|- |
|||
|[[File:New_Power_spell.png]] || Example for the spell "power" |
|||
|- |
|- |
||
|[[File:Fireball.png]] || Example for the spell "fireball" - scary :) |
|[[File:Fireball.png]] || Example for the spell "fireball" - scary :) |
||
|- |
|||
|[[File:lava.png]] || Example for the spell "lava" |
|||
|- |
|- |
||
|[[File:Freeze.png]] || Example for the spell "freeze" |
|[[File:Freeze.png]] || Example for the spell "freeze" |
||
|- |
|- |
||
|[[File:Drain.png]] || Example for the spell "drain" - or something else :) |
|[[File:Drain.png]] || Example for the spell "drain" - or something else :) |
||
|- |
|||
|[[File:Become.png]] || Example for the spell "become" |
|||
|- |
|- |
||
|[[File:Manapotion.png]] || A bottle of mana |
|[[File:Manapotion.png]] || A bottle of mana |
||
|- |
|||
|[[File:Magicwand.gif]] || A magic wand |
|||
|} |
|} |
||
| Line 110: | Line 152: | ||
** slowly when no attacks are aiming at the player |
** slowly when no attacks are aiming at the player |
||
* cooldown time {{done}} |
* cooldown time {{done}} |
||
* necessary equipment |
|||
** magician's robe |
|||
** magic wand |
|||
** magician's hat |
|||
** spellbook |
|||
== Mages == |
|||
The player is not going to have to decide his class to be a mage in order to be able to use magic. |
|||
We are not going to have a strict line, between warrior and mage. |
|||
Players might be 80% warrior 20% mage because they happen to fight 80% of the time and only use magic 20% of the time |
|||
Our implementation of magic, the balancing above, is what will ensure, that the player can't be overpowerful or combine brute force with magic, effectively. |
|||
== TODO == |
== TODO == |
||