Post by MidnightChipmunk on Apr 7, 2017 3:09:09 GMT -5
Hello all! This is gonna be a short little tutorial or as I will start calling them Information Dumps! This one is on sub-spell handling and some useful information and some habits I want you guys to start getting into that I just never knew about! So first off all of the information you need to know! As of MagicSpells update 3.2:
When listing spells on meta spells, you can now define additional options for those spells
A syntax example: pain(mode=partial power=1.5 delay=10)
Another example: morepain(mode=full power=0.5)
Available options:
mode: the cast 'mode', options are:
direct: the sub spell's effect is called directly, no other processing is done
partial: some processing is done, such as modifiers and variables (this is the default)
full: full processing is done, including cooldowns, reagents, and cast messages)
hard: the spell behaves like a hard-cast, as if the player had casted the spell with a wand item (using this will lose targeting info if it existed)
power: the spell power for this spell (default 1.0)
delay: an amount of server ticks to delay the spell (default 0)
(Nisovin, nisovin.com/magicspells/changelog)
So this is pretty self explanatory for what each mode does and notice that the default mode is partial and not full. This is very important and may fix some of your spells that might not be working with cast messages! A little bit of extra to this information dump is something I want all of you new spell configurers AND OLD to start doing! Start marking your spells with these two (at least one) of these parameters:
What these do is tell MagicSpells that the spell that it is handling is a helper/sub spell, so start doing these!
When listing spells on meta spells, you can now define additional options for those spells
A syntax example: pain(mode=partial power=1.5 delay=10)
Another example: morepain(mode=full power=0.5)
Available options:
mode: the cast 'mode', options are:
direct: the sub spell's effect is called directly, no other processing is done
partial: some processing is done, such as modifiers and variables (this is the default)
full: full processing is done, including cooldowns, reagents, and cast messages)
hard: the spell behaves like a hard-cast, as if the player had casted the spell with a wand item (using this will lose targeting info if it existed)
power: the spell power for this spell (default 1.0)
delay: an amount of server ticks to delay the spell (default 0)
(Nisovin, nisovin.com/magicspells/changelog)
So this is pretty self explanatory for what each mode does and notice that the default mode is partial and not full. This is very important and may fix some of your spells that might not be working with cast messages! A little bit of extra to this information dump is something I want all of you new spell configurers AND OLD to start doing! Start marking your spells with these two (at least one) of these parameters:
helper-spell: true (IMPORTANT ONE!!)
beneficial: [true/false]
What these do is tell MagicSpells that the spell that it is handling is a helper/sub spell, so start doing these!