Changed UserType for ToB Maneuvers

Changed UserType for ToB Maneuvers.  Removed free Imp Combat Casting from ToB base classes.  Fixed typo in Arcane Trickster skill list. Fixed bad value in damagehitvisual.2da.  Fixed typos in ecl.2da. Fixed targeting bug with Profane Lifeleech. Started working on updated materials system.  Fixed overlong filenames in materialcomp.2da and prc_spells.2da.  Fixed typo in prc_effect_inc.nss.  Added Daylight Adaptation as iprp_feat.  Fixed issue where Karsite's couldn't use spell cast from magical items.  Added missing Reth Dekala entangling blade.  Added Light Fortification for Warforged.  Added Fortification for Reth Dekala.  Added moderate fortification for Warforged Charger.  Removed Imp. Fortification from races that shouldn't have it.  Fixed missing Monstrous marker feat on Yuan-Ti Pureblood.  Updated TLK.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-12-13 11:33:43 -05:00
parent 152f99037e
commit 7307efab11
39 changed files with 46094 additions and 22412 deletions

View File

@@ -26,12 +26,17 @@ void main()
int nDamage = 0;
int iChaMod = GetAbilityModifier(ABILITY_CHARISMA,oPC);
int iSkill = GetSkillRank(SKILL_IAIJUTSU_FOCUS,oPC)+ d20(); //Iaijutsu Focus Check
if(DEBUG) DoDebug("prc_iaijutsu >> Initial Iaijutsu focus check is "+IntToString(iSkill)+".");
if(GetHasFeat(FEAT_SKILL_FOCUS_IAI))
if(GetHasFeat(FEAT_EPIC_SKILL_FOCUS_IAI))
iSkill = iSkill + 13;
else
iSkill = iSkill + 3;
if(DEBUG) DoDebug("prc_iaijutsu >> Finall Iaijutsu focus check is "+IntToString(iSkill)+".");
//string OneKat;
int iDie = 0;
@@ -47,10 +52,20 @@ void main()
iDie = 9;
nDamage = d6(iDie);
if(DEBUG) DoDebug("prc_iaijutsu >> Iaijutsu damage = "+IntToString(nDamage)+" extra damage.");
if(GetHasFeat(FEAT_STRIKE_VOID)) nDamage = nDamage + iChaMod*iDie;
if(GetHasFeat(FEAT_STRIKE_VOID))
{
nDamage = nDamage + iChaMod*iDie;
if(DEBUG) DoDebug("prc_iaijutsu >> Strike of the Void grants +"+IntToString(iChaMod+iDie)+" extra damage.");
}
// Only works on flatfooted foes or objects. Does half damage to objects
if (!GetIsDeniedDexBonusToAC(oTarget, oPC) && GetObjectType(oTarget) == OBJECT_TYPE_CREATURE) nDamage = 0;
if (!GetIsDeniedDexBonusToAC(oTarget, oPC) && GetObjectType(oTarget) == OBJECT_TYPE_CREATURE)
{
if(DEBUG) DoDebug("prc_iaijutsu >> Target is not flat-footed");
nDamage = 0;
}
else if (GetObjectType(oTarget) != OBJECT_TYPE_CREATURE) nDamage /= 2;
}