- Aug 31, 2020
- 179
- 161
I got back to this game after a long while and 2 Dominas have been added since then.Damage formula for several skills are glitched due to a variable. So, the only way to fix that is to change game files.
Dekarous made our manual bug fixing life harder by putting everything in a single .exe file. But don't worry, I'll show you how we can circunvent that.
STEP 0) Make a backup copy for Domina if you feel unsafe.
STEP 1) Download the lastest version of Enigma VirtualBox unpacker. You can find it on the dev's official website:You must be registered to see the links
Step 1.1) Extract Enigma VB wherever you like.
STEP 2) Open Enigma VirtualBox Unpacker. At the right of the top bar, you will find a [...] button. Click on it. It will prompt a file select window. Find the Domina .exe file and open it on Enigma VirtualBox Unpacker. After that, just hit the "Unpack" button.
Step 2.1) It may take a while until the unpacker does its job (go read a book or watch a good femdom video). When it ends, you will find a new folder on the same place where the executable was (probably named "%Default Folder%"). I suggest you to change that name (eg. "DominaFiles", "DominaGame", "Domina" and so on).
STEP 3) Open that folder. Now, you can easily manipulate all Domina's original files. Your saves won't be there, because the unpacker only unpacks whatever was inside that big .exe file, and Dekarous kept the save folder outside it. That's easy to fix, you just have to copy your "save" folder (under the original "www" folder) and paste it inside the new "www" folder that you will find inside the unpacked content folder.
STEP 4) Now, to fix the damage bug, we'll be manipulating a .json file. More specifically, our target is the file www/data/skills.json
Step 4.1) You can edit .json files by several ways. The most direct is by using Notepad itself, but I personally do not recommend it, since it is quite messy. Instead, I recommend using Notepad++. Other tools like Visual Studio Code can be used as well. You can even use your internet browser, but it may require some knowledge in using the dev tools (F12). Nevertheless, your browser is a great tool to visualize a json file, which may help in the step 4.2
Step 4.2) Now, you have to find the ID of the skill that you need to change. In my browser, typing Death or Glory in the search bar would bring me an entry after the number 74 (74: name: "Death or Glory") - that means the ID of Glory or Death skill is 74.
Step 4.3) Now, you need to go to your editor (eg: Notepad++) and find the block with the "id": 74 value. A block in JSON is limited by { and }. You're looking for something like this:
You don't have permission to view the spoiler content. Log in or register now.
This block has all the informations about the skill Death or Glory: Mana cost (mpCost = 50), TP cost (tpCost = 50), how much TP you gain after using it (tpGain = 0) and so on.
Step 4.4) Now, let's take our attention to our object of interest: the damage is always 0. So, we probably have a problem with the damage calculation. Let's take a look to the Damage Formula itself. Here it is:
"formula":"a.atk * 6 - b.def * 2 * ($gameTemp.tas_power)"
I tried, empirically, to change this formula in order to make another skill (Trick Shot, which is also glitched) to work. It seems that something is wrong with this variable $gameTemp.tas_power (my guess is that it is not returning a number, but something else instead). Nevertheless, the skill will restore its glory if you erase it. So basically...
Step 4.5) Just change this formula to this:
"formula":"a.atk * 6 - b.def * 2"
Doing this will fix your skill.
Step 4.6) Save your file.
STEP 5) The skill should be working now.
Notice that you can basically change everything on any skill, so if you want to make the game easier or more difficult, you can change other values as you wish.
-----------------------------------
That's all. If you have any difficulty, feel free to quote my post (or mention me) and ask.
I came across your post and it's very helpful indeed to fix the damage bug.
I'm replying to your post because I want to add something to it.
Under every attack or skill, there's data and notes for it.
For example, there's an enemy in Katrina's realm called Dusk something and it has the attack called Dusk Blade.
When that enemy attacks, there will be a short cut in or event that plays showing that enemy attacking.
The following is the information for that attack, which is at line 154 in the skills.json file by the way.
You don't have permission to view the spoiler content.
Log in or register now.
You can remove that cut in or event that plays when an enemy uses that attack.
You do that by replacing
"note":"<whole action>\ncommon event: 75\n</whole action>"
with
"note":""
Basically remove everything in between the " " and the attack will stop triggering that cut in or event, saving you seconds every time.
I would recommend that you only limit it to the trash enemies to save yourself time and still keep the flavor text of the Domina attacks.