Alright, here's what happened:
I had my casting system all planned out. First, you use the skill 'Begin Channeling'...
Now each second of time you've been in the unit group...
And if you stop casting...
So the skills it gives you (Aid and Sorcery) and spellbooks that will include all of the skills in those trees. Each skill requires a certain level of the channeling time upgrade. In other words, each skill requires a certain amount of time casting before it's availible for use.
Problematically, you can't the level of an upgrade after it's upgraded. So now I'm stumped.
I can't find a way to disable the skills without completely removing them. I could just order the unit to stop if they try to cast a spell that requires more casting time than they have, but then they would have to start channeling all over again...which would be inconvenient.
Any suggestions?
Thanks for reading the large post and thanks for your replies!
I had my casting system all planned out. First, you use the skill 'Begin Channeling'...
Trigger:
- Channeling
- Events
- Unit - A unit Begins channeling an ability
- Conditions
- (Ability being cast) Equal to Begin Channeling
- Actions
- Unit - Add Aid to (Triggering unit)
- Unit - Add Sorcery to (Triggering unit)
- Unit Group - Add (Triggering unit) to ChannelingUnits
- Events
Now each second of time you've been in the unit group...
Trigger:
- Channeling 2
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in ChannelingUnits and do (Actions)
- Loop - Actions
- Player - Set the current research level of Channeling Time to ((Current research level of Channeling Time for (Owner of (Picked unit))) + 1) for (Owner of (Picked unit))
- Loop - Actions
- Unit Group - Pick every unit in ChannelingUnits and do (Actions)
- Events
And if you stop casting...
Trigger:
- Channeling 4
- Events
- Unit - A unit Stops casting an ability
- Conditions
- (Ability being cast) Equal to Begin Channeling
- Actions
- Game - Display to (All players) the text: Stopped
- Player - Set the current research level of Channeling Time to 0 for (Owner of (Casting unit))
- Unit Group - Remove (Casting unit) from ChannelingUnits
- Events
So the skills it gives you (Aid and Sorcery) and spellbooks that will include all of the skills in those trees. Each skill requires a certain level of the channeling time upgrade. In other words, each skill requires a certain amount of time casting before it's availible for use.
Problematically, you can't the level of an upgrade after it's upgraded. So now I'm stumped.
I can't find a way to disable the skills without completely removing them. I could just order the unit to stop if they try to cast a spell that requires more casting time than they have, but then they would have to start channeling all over again...which would be inconvenient.
Any suggestions?
Thanks for reading the large post and thanks for your replies!