View Single Post
  #6  
Old 01-24-2023, 09:45 PM
Moxxy Moxxy is offline
Approved Member
 
Join Date: Jul 2020
Posts: 2
Default How to install the above mod

I saw a post on steam asking how to use the above code. Here is how to install:

Steps to install this mod:
1) open the \sessions\orcs\orcs.kfs file with winrar or another archiver program
2) extract the textgen.lua file somewhere
3) open textgen.lua and search for the `time_gen()` function
4) add the following line before the return statement:

accelerate_manaregen()

5) add the function in my prior comment to the end of the textgen.lua file
6) place the edited file into the \sessions\orcs\mods directory

For anyone interested, the normal game logic for rage to mana conversion is in the `change_manarage()` function in the file `logic_hero.lua`.

Last edited by Moxxy; 01-26-2023 at 06:19 PM.
Reply With Quote