2026/01/10 Update
Added three starting packages for the Binder class. Updated any PrCs that can advance invokers to allow invocation feats during level up. Updated invoker feats to require Eldritch Blast & DFA Breath where appropriate. Fixed bad constant on Rising Phoenix. Fixed Oozemaster Oozy Touch/Glob bonus feat bug. Vassal of Bahamut's Platinum Armor is now much closer to PnP. Craft (Alchemy) is a class skill for Binders. Moved packages into \Craft2das\ so the PRC8 would continue to build. Updated personal_switch.2da to not stack Power Attack by default. Fixed creature size related screw-up that happened when I was trying to fix unarmed damage for large creatures. +10 Jump bonus for Leaping Dragon Stance was being improperly gated by Blood Claw Master. Fixed duration bug w/ Supress Weapon. Fixed broken loop bug w/ Supress Weapon. Restoration shouldn't be able to remove Crack of Doom user's AB penalty. Epic Vassal's of Bahamut now get their proper allowance. Mirror Images might not spawning in dead anymore. YMMV, Harrowport. Added package TLK worksheet to notes.
This commit is contained in:
@@ -9,6 +9,8 @@ const int PRC_SIZEMASK_SIMPLE = 4; // 'simple' size changes that have si
|
||||
|
||||
const int PRC_SIZEMASK_ALL = 7; // PRC_SIZEMASK_NORMAL | PRC_SIZEMASK_NOABIL | PRC_SIZEMASK_SIMPLE
|
||||
|
||||
const int PRC_SIZEMASK_PRC = 0x08; // For systems that need PRC size scale
|
||||
|
||||
//wrapper for biowares GetSpellId()
|
||||
//used for actioncastspell
|
||||
int PRCGetSpellId(object oCaster = OBJECT_SELF);
|
||||
@@ -493,29 +495,6 @@ int PRCGetCreatureSize(object oObject = OBJECT_SELF, int nSizeMask = PRC_SIZEMAS
|
||||
int nSize = StringToInt(Get2DAString("appearance", "SizeCategory", GetAppearanceType(oObject)));
|
||||
if (DEBUG) DoDebug("Appearance-based GetCreatureSize, returning size: "+IntToString(nSize));
|
||||
if (DEBUG) DoDebug("Bioware GetCreatureSize, returning size: "+IntToString(GetCreatureSize(oObject)));
|
||||
|
||||
// Check for racial size feats FIRST - these override appearance size
|
||||
if(GetHasFeat(FEAT_TINY, oObject))
|
||||
nSize = 3; // PRC Tiny
|
||||
else if(GetHasFeat(FEAT_SMALL, oObject))
|
||||
nSize = 4; // PRC Small
|
||||
else if(GetHasFeat(FEAT_LARGE, oObject))
|
||||
nSize = 6; // PRC Large
|
||||
else if(GetHasFeat(FEAT_HUGE, oObject))
|
||||
nSize = 7; // PRC Huge
|
||||
else
|
||||
{
|
||||
// Map appearance sizes to PRC sizes when no racial feat present
|
||||
if(nSize == 1) nSize = 3; // Tiny creatures
|
||||
else if(nSize == 2) nSize = 4; // Small creatures
|
||||
else if(nSize == 3) nSize = 5; // Medium creatures
|
||||
else if(nSize == 4) nSize = 6; // Large creatures
|
||||
else if(nSize == 5) nSize = 7; // Huge creatures
|
||||
}
|
||||
|
||||
if (DEBUG) DoDebug("Has FEAT_LARGE: " + IntToString(GetHasFeat(FEAT_LARGE, oObject)));
|
||||
if (DEBUG) DoDebug("PRCGetCreatureSize: After racial feats, nSize = " + IntToString(nSize));
|
||||
|
||||
//CEP adds other sizes, take them into account too
|
||||
if(nSize == 20)
|
||||
nSize = CREATURE_SIZE_DIMINUTIVE;
|
||||
@@ -582,7 +561,6 @@ int PRCGetCreatureSize(object oObject = OBJECT_SELF, int nSizeMask = PRC_SIZEMAS
|
||||
if (DEBUG) DoDebug("PRCGetCreatureSize, returning size: "+IntToString(nSize));
|
||||
return nSize;
|
||||
}
|
||||
|
||||
int GetIsChakraBound(object oMeldshaper, int nChakra)
|
||||
{
|
||||
int nTest = GetLocalInt(oMeldshaper, "BoundMeld"+IntToString(nChakra));
|
||||
|
||||
Reference in New Issue
Block a user