2025/05/13 Update

Updated TF Shadowlord's prereq 2da.
Fixed CW Samurai's TWF levelup issue.
Added CW Samurai's skill 2DA back in.
Cleaned up ECL 2DA.
Fixed prereq bug with Imp Crit Eagle Claw.
Added Ability Focus feats for all Shapes, Essences & Invocations with DCs.
Fixed bug with 6th slot of crafting spells prereqs.
Added Reth Dekala HD to Initiator total.
Removed Dark Sun race files.
Updated all racial outsiders, monstrous humanoids, aberrations, giants, humanoids and fey to have the correct weapon & armor profs.
This commit is contained in:
Jaysyn904
2025-05-13 23:05:31 -04:00
parent 66de6daa94
commit 2caeb8941c
125 changed files with 3990 additions and 3630 deletions

View File

@@ -509,6 +509,50 @@ void DoEquipThinblade(object oPC, object oItem, int nHand)
//handles the feat chain for Elven Courtblades
void DoEquipCourtblade(object oPC, object oItem, int nHand)
{
// Check if the PC qualifies with Greatsword feats
if (GetHasFeat(FEAT_WEAPON_FOCUS_GREAT_SWORD, oPC))
{
// Weapon Focus: Elven Courtblade
effect eWF = EffectBonusFeat(FEAT_WEAPON_FOCUS_ELVEN_COURTBLADE);
TagEffect(eWF, "EFF_CB_WF");
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eWF, oPC);
// Epic Weapon Focus: Elven Courtblade
if (GetHasFeat(FEAT_EPIC_WEAPON_FOCUS_GREATSWORD, oPC))
{
effect eEpicWF = EffectBonusFeat(FEAT_EPIC_WEAPON_FOCUS_ELVEN_COURTBLADE);
TagEffect(eEpicWF, "EFF_CB_EPICWF");
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEpicWF, oPC);
}
// Weapon Specialization: Elven Courtblade
if (GetHasFeat(FEAT_WEAPON_SPECIALIZATION_GREAT_SWORD, oPC))
{
effect eWS = EffectBonusFeat(FEAT_WEAPON_SPECIALIZATION_ELVEN_COURTBLADE);
TagEffect(eWS, "EFF_CB_WS");
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eWS, oPC);
// Epic Weapon Specialization: Elven Courtblade
if (GetHasFeat(FEAT_EPIC_WEAPON_SPECIALIZATION_GREATSWORD, oPC))
{
effect eEpicWS = EffectBonusFeat(FEAT_EPIC_WEAPON_SPECIALIZATION_ELVEN_COURTBLADE);
TagEffect(eEpicWS, "EFF_CB_EPICWS");
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEpicWS, oPC);
}
}
}
// Improved Critical: Elven Courtblade
if (GetHasFeat(FEAT_IMPROVED_CRITICAL_GREAT_SWORD, oPC))
{
effect eICrit = EffectBonusFeat(FEAT_IMPROVED_CRITICAL_ELVEN_COURTBLADE);
TagEffect(eICrit, "EFF_CB_ICRIT");
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eICrit, oPC);
}
}
/* void DoEquipCourtblade(object oPC, object oItem, int nHand)
{
if(GetHasFeat(FEAT_WEAPON_FOCUS_GREAT_SWORD, oPC))
{
@@ -524,7 +568,7 @@ void DoEquipCourtblade(object oPC, object oItem, int nHand)
}
if(GetHasFeat(FEAT_IMPROVED_CRITICAL_GREAT_SWORD, oPC))
IPSafeAddItemProperty(oItem, ItemPropertyKeen(), 99999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
}
} */
//clears any bonuses used to simulate feat chains on unequip
void DoWeaponFeatUnequip(object oPC, object oItem, int nHand)
@@ -673,6 +717,7 @@ void DoProficiencyCheck(object oPC, object oItem, int nHand)
}
}
*/
void DoWeaponEquip(object oPC, object oItem, int nHand)
{
if(GetIsDM(oPC) || !GetIsWeapon(oItem)) return;