Please help
Id like to let players to combine spell effects and components to create their own version of a spell.
There is a gui for selecting all elements needed. And there is a custom spell script bound to a mag's only spell to check for all chosen options. Sort of a warlock interface.
It will work in battle no problem.
But:
I'd like to allow for preparing spells in advance as well.
1. make a scroll to use later, or
2. add (through script) a new spell to the spell book.
And now the problems:
I cannot add every possible combination to the spell.2da There will be too many and the purpose is for players to be creative and come up with unique combinations
* I would need a generic spell for both in spells.2da (and iprp* for scrolls). Is it possible to change a spellbook entry's name (probably not) or as scroll name on the fly (it is just an item? probably yes) to reflect the spell "content"?
* Can I add concentration checks while casting from scrolls (as they just represent prepared spells) ?
* Can I fake it all with ActionCastSpellAtObject() with concentration check and spell failure and all to simulate normal casting?
(If the last one is true, I can use just that to add prepared spells to gui list and fire custom scripts.)
Any other options for doeing something like this?





Retour en haut






