Is there any way anyone knows of to change the description of a skill mid-battle?
Now, I don't mean changing the whole skill for another skill, just swapping the description itself (like based upon a variable or something).
Thanks in advance!
You'd need to create or request a plug-in to do this. Normally, skill descriptions are pulled directly from the database, so I don't even think you could easily just change a few script lines to implement this behavior.
What are you trying to do? You could swap skills, but have the skills do the same thing, but with different descriptions
It's actually a one-liner to make the change, but the issue, as hinted at above, is that the descriptions come from the database, and the database is not reloaded when you load a new game or a saved game, so if you make the change, then start a new game, the skill will have the new description.
mmm ... if you really wanted to go that route, you could do a script call to record all the current skills into a new (script) variable, loop through the existing skills and forget each one, then loop through the (script) variable you saved the skills into, in a certain order, and add them all back again.
Or modify the js itself so it sorts the skills by skill id before showing them in any kind of list, rather than showing them in the order learned.
How you do this depends on whether you have any plugins that affect displaying skills in menus, and if you do have a plugin like this, it might already have an option to allow you to control sorting.