[School of Nunya][Modding .hfs 101]- Lesson(Durations and Effects)
Notes
I am here in these topics to teach and help each and every one of you. Therefor do not be afraid to ask stupid, simple or repeated questions as long as they relate to the topic. I will help you regardless.
I will not be describing the process of converting from hfs to zip and back as there are already tutorials for that.
PLEASE USE NOTEPAD++ FOR TEXT EDITOR AND SQLITE FOR DATABASE.
So with that said, lets get on with the lesson.
Tutorial:
Spell/Buffs/Trans/etc Duration and Effect mods are done within 286FE9924483F382029EF68BA6C260B3C2563BF9.hfs.
Step 1:
Open 286FE9924483F382029EF68BA6C260B3C2563BF9.hfs.
Step 2:
Open heroes.db3.comp with SQlite.
Step 3:
Find the table "StatusEffectGroupInfo" on the left and click on it to open it.
Step 4:
We will change the columns shown to you to the relevant ones to make editing less hassle. So on the column list (where it says "RecNo Type Level Abslevel IDTag and so on) right click and choose the option "Select Columns". Next click the Unselect All button. Next put checkmarks in the following columns "Type, Level, Duration, Effect1, Effect1_Arg1, Effect1_Arg2, Effect1_Arg3, Effect2, Effect2_Arg1, Effect2_Arg2, Effect2_Arg3, Effect3, Effect3_Arg1, Effect3_Arg2, Effect3_Arg3.

Step 5:
Now you need to navigate to the skill or buff you want to mod. Right below the column list are blank lines where you can input text. Click in the box under "Type" start typing the name of what you want- for example you can type Type "transform_invincible". It will bring you to the transform_invincible skill and show you it's values.
Step 6: Under where it says Duration in the particular skills column you can click in the box and change the number to whatever you want, for example I make the duration of transform_invincible to 999999(277 hours).

Step 7: To show that you can add or change effects given by buffs I will show another example:
You can see in this example I edited levelup_bonus 4. You can see I changed the duration to 999999, the HP given to 999999 and added my own bonus "STAMINA" and made that value 999999 as well.

Step 8: Close SQlite and make sure the .zip file gets updated with the changes and convert it back to .hfs.
So that's that, congrats on learning to mod durations and add your own effects to spells and buffs.
I am here in these topics to teach and help each and every one of you. Therefor do not be afraid to ask stupid, simple or repeated questions as long as they relate to the topic. I will help you regardless.
I will not be describing the process of converting from hfs to zip and back as there are already tutorials for that.
PLEASE USE NOTEPAD++ FOR TEXT EDITOR AND SQLITE FOR DATABASE.
So with that said, lets get on with the lesson.
Tutorial:
Spell/Buffs/Trans/etc Duration and Effect mods are done within 286FE9924483F382029EF68BA6C260B3C2563BF9.hfs.
Step 1:
Open 286FE9924483F382029EF68BA6C260B3C2563BF9.hfs.
Step 2:
Open heroes.db3.comp with SQlite.
Step 3:
Find the table "StatusEffectGroupInfo" on the left and click on it to open it.
Step 4:
We will change the columns shown to you to the relevant ones to make editing less hassle. So on the column list (where it says "RecNo Type Level Abslevel IDTag and so on) right click and choose the option "Select Columns". Next click the Unselect All button. Next put checkmarks in the following columns "Type, Level, Duration, Effect1, Effect1_Arg1, Effect1_Arg2, Effect1_Arg3, Effect2, Effect2_Arg1, Effect2_Arg2, Effect2_Arg3, Effect3, Effect3_Arg1, Effect3_Arg2, Effect3_Arg3.

Step 5:
Now you need to navigate to the skill or buff you want to mod. Right below the column list are blank lines where you can input text. Click in the box under "Type" start typing the name of what you want- for example you can type Type "transform_invincible". It will bring you to the transform_invincible skill and show you it's values.
Step 6: Under where it says Duration in the particular skills column you can click in the box and change the number to whatever you want, for example I make the duration of transform_invincible to 999999(277 hours).

Step 7: To show that you can add or change effects given by buffs I will show another example:
You can see in this example I edited levelup_bonus 4. You can see I changed the duration to 999999, the HP given to 999999 and added my own bonus "STAMINA" and made that value 999999 as well.

Step 8: Close SQlite and make sure the .zip file gets updated with the changes and convert it back to .hfs.
So that's that, congrats on learning to mod durations and add your own effects to spells and buffs.
