Player Resource Consortium

 

Author Topic: PRC 3.5 b2 and NWNX question.  (Read 10997 times)

0 Members and 1 Guest are viewing this topic.

October 22, 2011, 10:47:24 AM
Reply #15
  • Adept
  • *
  • Posts: 11
  • Karma: +0/-0
  • New Member
    • View Profile

Yeah, thing is, I didn't touch enlarge person. It apparently -is- affected by the size change code. I'm not intricately familiar with the PRC subsystems, but it appears that all the enlarge/reduce person code does is set a local int that is then processed by something else to actually make the size changes. I wasn't able to find the guts of the draconic enlargement feats to see how they implement size changes, so I can't say for certain  what needs to change, or how, in order to make this stable.


October 22, 2011, 11:35:49 AM
Reply #16
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

You're right. It's doing this here:
Code: [Select]
    //do 'simple' size change effects, like the expand/compress psionic powers
    int nSimpleChange = nPRCSizeAll - nPRCSize;
    nStr     += 2 * nSimpleChange;
    nDex     -= 2 * nSimpleChange;
    nACDodge -=     nSimpleChange;
    nHide    -= 4 * nSimpleChange;

I think we should disable 'smiple' size changes from nwnx script - one way is to use nPRCSize instead of nPRCSizeAll and apply the rest as magical bonus/penalty.

BTW PRCGetCreatureSize() function is in prc_inc_nwscript.nss, that's where all size modificators are.