Jump to content

A fix for a Magicka overhaul


OmegaNecros

Recommended Posts

  • 2 weeks later...

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
Link to comment
Share on other sites

  • Recently Browsing   0 members

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