Jump to content

Home

Problem with simple mod


Dimon157

Recommended Posts

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?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...