Basic modding Question: Adding a new ritual spell
I know this is probably a snap for those in the know, but i'm trying to make a small mod that allows any leader to cast gift of reason on any unit.
#modname "Ultimate Gift of Reason"
#description "Gives all units the ability to cast Gift of Reason."
#domversion 3.21
-icon "something.tga"
#newspell
#copyspell "Gift of Reason"
#name "Promotion"
#descr "Allows a leader to promote any unit its sees fit."
#path 0 -1
#path 1 -1
#school 3
#researchlevel 0
#pathlevel 0 -1
#pathlevel 1 -1
#end
My reasoning is that if i just copy the spell and assign it to no path requirements in the school on const - it should just show up and be ready to use. Its not working out that way. I also don't want it to cost any gems to cast - but i cant seem to work out where that would go either.
Anyone give me a few much appreciated pointers on this?
|