Author Topic: Modifying ELC (Enforce Legal Character)  (Read 337 times)

Legacy_Savagefool

  • Jr. Member
  • **
  • Posts: 92
  • Karma: +0/-0
Modifying ELC (Enforce Legal Character)
« on: May 30, 2015, 12:26:01 pm »


               

If I use functions or funcs to modify a character on login based on subrace.


How does this effect ELC?


How do i edit this to allow such changes not to effect logging in?


 


Normally, if the character has "invalid" skill points or whatnot you cannot login.


The chances of me turning ELC off is slim, so i would like explore all options before declaring this undoable.


 


This is how I envision it working.


On character login, check subrace. If subrace is X, set local int Y and reset local int Z.


If local int is Y is set.


Run funcs to change ability score permanently.


Reset local int Y, set local int Z to make sure this script is never run on login again.


 


I need more info if you can provide please.


Some reading material as to how ELC works perhaps (Technically, not the shitty nwn wiki description) and where to find such scripts.



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Modifying ELC (Enforce Legal Character)
« Reply #1 on: May 30, 2015, 06:34:55 pm »


               

You cant use ELC if you intent to modify abilities, saving throws, skills raw values or feats (other than via bonus feats).


 


You have to code your own verification for that.



               
               

               
            

Legacy_Savagefool

  • Jr. Member
  • **
  • Posts: 92
  • Karma: +0/-0
Modifying ELC (Enforce Legal Character)
« Reply #2 on: May 31, 2015, 07:46:35 pm »


               

Ah that's sucky news, thanks Shadow.