Hello :)
I am trying to find a way to have an ability's MP cost increase by a constant amount each time it is used, and then can be reset by using a certain action.
I have been trying to use global ability variables without much luck. Is there another way to approach this that I am not thinking of?
The solution would also need to only increase this cost per combatant, so two combatants could have the same ability that increases in cost independently.
Thank you for your time and support in advance!!
Normally you maybe have it on Value then an integer (which could then be set to value or percent)
You can have that Change Value be pretty much anything. (Status Value, Level, Variable, etc)
You can use a Formula there (Game-->Formulas) to do some math operations on the value.
Anyway point is that if you had a hidden status value (or maybe object variable) would be per combatant and instead of "Value" as the "Change Value" you'd set that to combatant-->status value and it would change it by that Status Values' amount.
Although this does seem more like what Ability variables would be intended for, but perhaps they are mostly meant as charges or something I dunno.
Looking deeper I think I will use Ability levels in this case to increase Use Cost, and then if I want to actually create upgrades of an ability, I would just create another ability entirely.
Gonna try this method out and see if it works!
You have one called skill1 use cost and change it from 10 to 30 and use that as the mana status value change value use cost in the ability
Here is status value Strength, start value is 1 so every combatant starts with 1 Str individually. (until changed by development, equipment, status effect, etc)
Then on an ability the use cost change value is set to strength. (it says energy points instead of MP).
So initial would cost 1 EP to cast the ability and if I changed that Combatants strength, the cost would reflect that. If I changed strength to 10 in a schematic for the user of that schematic, then used this ability it would cost 10 EP.
The change value is just assigning a number to use As the cost.
Hope that makes more sense, GiL is going to ban me! Lol jk.
https://imgur.com/a/rKkBarK
Currently using Ability levels is working as intended for going up in Use Cost by using the Level Up Type 'Uses' and setting the levels sequentially, but I am having trouble resetting the level of the abilities mid-battle. I have an ability set up called Rest that I want to reset all abilities of the combatant to Level 1.
It seems I am having trouble getting the Rest ability to use a schematic. I have tried setting the User Change or the Target (Self) change to the Change Type 'Schematic', choose the Rest Schematic I have set up, and test it out with a Show Dialogue node, or a status effect node, but it is not working. I have Hit Chance off, so it should always use the ability. Not sure why it does not use the Schematic. Any thoughts of where to look?
Now I am trying to figure out what node will change an ability back to level 1. "Change Ability Use Level" node to change Use Level to 1 or 0 doesn't seem to change what ability level is being used. "Change Ability Use Count" seems to not do what I am looking for either.
Any tips?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I thought about that method, the trouble I am running into is that I am trying to create a way to reset all abilities of a combatant to Level 1.
In this case, it seems Using Selected Data on the Learn Ability node loads the level of the ability that was saved in Selected Data. The Selected Data I am using is selecting All Abilities of the combatant, and stores the level they are currently at, so they get re-learned at the same level.
Here's how I have the schematic set up so far.
https://imgur.com/a/KHptOl3
It'd be great if there was a way to change the level being used numerically, or re-learn a list of Abilities in Selected Data at Level 1.
I don't think this is currently possible like that, you'll have to go through abilities individually for that.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Is that something that may become available in the future? To decide what level abilities in Selected Data get re-learned at? Could be a toggle to learn at the level it was selected, or to choose the level.
Or simply setting ability levels to a lower level, since there is a level-up node, rather than forgetting and re-learning.
How would you recommend I go through the abilities individually? It seems like I can only use selected data in this instance to dynamically forget and learn the abilities of any combatant.
Going through the abilities individually means basically that:
- check if ability X is learned
- forget it
- learn it again
And repeat that for all abilities :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
With your advice around Ability Variables, I was able to get an increase to work with schematics rather than Ability Levels so far. Thank you again for all your help!
What schematic node do I use to check if an ability is learned?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Any chance Check Status - Ability, and Select Ability nodes will use the Ability index number as an option in the future? Would make it easier to loop through all abilities individually with a loop node.