Jump to content

Recommended Posts

Posted (edited)

Im looking for either a fix, or someone that can tell me how to fix a bug, or recreate the mod without the bug, present in the following mod:

 

Health and Magicka overhaul

 

When using it any enchant magicka effects don't work. A fix would be wonderful and very much appreciated.

Edited by OmegaNecros
  • 2 weeks later...
Posted (edited)

It looks like The leveled magicka uses a script to modify magicka, but im not sure how to add enchantments into the script formula.

 

scriptname 1LevelmanaScript
short doonce
float fQuestDelayTime
float mode
float oldMagicka
float newMagicka
float newIntelligence
float var1
float var2
float var3
begin GameMode
if ( doonce != 4 )
set doonce to 4
set mode to 1.0
set fQuestDelayTime to 0.01
set oldMagicka to -1
endif
set var2 to player.getav Intelligence
set var1 to player.getlevel
Set newMagicka to ( ( ( var1 / 15 * var1 * 0.05 ) + 1 ) * ( var2 / 2 ) + 10 * ( var2 / 25 ) )
if ( newMagicka != oldMagicka )
player.setactorvalue Magicka newMagicka
endif
end

 

Since its a script it will automatically overwrite enchantments because its forcing my magicka to a value.

 

On another note, i can't seem to manually math out those variables to get the magicka the game does give me.

Edited by OmegaNecros
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...