SphereCommunity
Using Magery Spells for Custom Magic Systems - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Using Magery Spells for Custom Magic Systems (/Thread-Using-Magery-Spells-for-Custom-Magic-Systems)



Using Magery Spells for Custom Magic Systems - Archaaz - 09-20-2013 10:48 PM

I am creating a couple of custom magic systems, basically rewriting Necromancy and Spellweaving into new skills entirely. So far I have scripted some custom spells, borrowed or altered others from Necromancy, and will likely use some altered and renamed versions from Spellweaving as well.

I would like to include a few Magery spells in each system (or at least their effects), but renamed, and with different reagents, etc. I likewise want to keep Magery as a separate skill entirely. I noticed that there is no soft-coded sphere file containing the Magery spell effects, and assume that they are hard-coded somewhere. Is it possible to use Magery skills in this manner without soft-coding them from scratch?


RE: Using Magery Spells for Custom Magic Systems - darksun84 - 09-20-2013 11:06 PM

you can use the command spelleffect for using magery spells inside the @Effect trigger of the custom spell.


SPELLEFFECT spell_id, strength, source_character_uid, source_item_uid W Causes the character to be affected by a spell.


It will fire the @effect trigger of the relative magery spell


RE: Using Magery Spells for Custom Magic Systems - Archaaz - 09-20-2013 11:32 PM

Wow, that was fast. Thanks!