PDA

View Full Version : Problem with simple mod


Dimon157
09-16-2009, 12:06 PM
Hello.
I created k_def_buff.nss for KOTOR1, wrote following code
void main()
{
int nVP = GetMaxHitPoints(OBJECT_SELF) + 500;
SetMaxHitPoints(OBJECT_SELF, nVP);
}

Then compiled and placed to override folder, started new game but hit points of enemies didn't change. What I did wrong?