Ideas for Stendhal/Magic: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
No edit summary
imported>Madmetzger
Line 112: Line 112:
* 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'' (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):
/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 ===
=== 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).
* The spell to be casted should be activated in the spell slot by left-clicking on it (it is then highlighted).