2025/10/30 Update
Improved Trip / Disarm should be Champion of Corellon bonus feats. Crinti Shadow Marauders don't get weapon proficiencies. Epic Dragon Shaman is 21st level. JPM was missing epic arcane bonus feats. Karsites & Silverbrows can enter Crinti Shadow Maarauder. Drunken Rage can allow entry into Frostrager. Knight of the Sacred Seal was missing FEATOR prereq for Weapon Focus: Shortsword. Two-Weapon Defense is a general feat. Tweaked Echoblade enchantment cost. Added base class equpiment packages more inline with PnP & the actual package descriptions (@Cypher). Added a modified packages.2da to support the above. Updated Dynamic Conversation tokens as to greatly lessen the chance of conflicting with module dialogues. Added weapon proficiencies to FeatToIprop(). Added pnp essentia scaling support for meldshaper levels over 40. Added GetProficiencyFeatOfWeaponType(). Added GetHasSwashbucklerWeapon(). Added GetHasCorellonWeapon(). Fixed spelling for IP_CONST_FEAT_WEAPON_PROFICIENCY_NUNCHAKU. Fixed PsyRogue's Enhanced Sneak Attack scaling. Eldrtich Doom shouldn't target non-hostiles. Fixed Hellfire Warlock fire resistance to work with other sources of fire resistance. Fixed text feedback for Island in Time. Added some DEBUG for Shadow Blade. prc_2da_cache creature should no longer be accidently targetable, causing faction issues. Added a PnP cat creature, for the hell of it. Tibitz is Dragon Magizine, unfortunately. Updated text tokens for Astral Construct convos. Updated text tokens for soulknife's mindblade convos. If you save vs certain fear effects, they fail to work on you for 24 hours, from that source. (Form of Doom, Dragon Fear) Fixed Prismatic Sphere VFX bug (@Syrophir) Fixed Banishment bug on all Prismatic spells. Bralani Eldarin were missing Low-Light Vision. Fixed Lips of Rapture bug. Prelimiary work to making Favoured Soul's Deity's Weapon closer to PnP. Fixed Firey Burst bug. I think. Updated notes. Updated PRC8 Manual.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Weapon Restriction System Include
|
||||
//:: prc_inc_restwpn.nss
|
||||
//:: prc_inc_wpnrest.nss
|
||||
//::///////////////////////////////////////////////
|
||||
/*
|
||||
Functions to support PnP Weapon Proficiency and
|
||||
@@ -23,6 +23,70 @@
|
||||
* @param nHand The hand the weapon is wielded in. In the form of
|
||||
* ATTACK_BONUS_ONHAND or ATTACK_BONUS_OFFHAND.
|
||||
*/
|
||||
|
||||
//:: returns TRUE if the wielded weapon works with the Swashbuckler's class abilities.
|
||||
int GetHasSwashbucklerWeapon(object oPC)
|
||||
{
|
||||
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
|
||||
if (!GetIsObjectValid(oWeap)) return FALSE;
|
||||
|
||||
int nType = GetBaseItemType(oWeap);
|
||||
|
||||
switch (nType)
|
||||
{
|
||||
case BASE_ITEM_DAGGER:
|
||||
case BASE_ITEM_KATAR:
|
||||
case BASE_ITEM_HANDAXE:
|
||||
case BASE_ITEM_KAMA:
|
||||
case BASE_ITEM_KUKRI:
|
||||
case BASE_ITEM_LIGHTHAMMER:
|
||||
case BASE_ITEM_LIGHTMACE:
|
||||
case BASE_ITEM_LIGHT_PICK:
|
||||
case BASE_ITEM_RAPIER:
|
||||
case BASE_ITEM_SHORTSWORD:
|
||||
case BASE_ITEM_SICKLE:
|
||||
case BASE_ITEM_WHIP:
|
||||
case BASE_ITEM_SAI:
|
||||
case BASE_ITEM_SAP:
|
||||
case BASE_ITEM_NUNCHAKU:
|
||||
case BASE_ITEM_GOAD:
|
||||
case BASE_ITEM_ELVEN_LIGHTBLADE:
|
||||
case BASE_ITEM_ELVEN_THINBLADE:
|
||||
case BASE_ITEM_EAGLE_CLAW:
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// Iaijutsu Master allows katana
|
||||
if (GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC) > 0)
|
||||
{
|
||||
if (nType == BASE_ITEM_KATANA) return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//:: returns TRUE if the wielded weapon works with the Champion of Corellon's Elegant Strike.
|
||||
int GetHasCorellonWeapon(object oPC)
|
||||
{
|
||||
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
|
||||
if (!GetIsObjectValid(oWeap)) return FALSE;
|
||||
|
||||
int nType = GetBaseItemType(oWeap);
|
||||
|
||||
switch (nType)
|
||||
{
|
||||
case BASE_ITEM_SCIMITAR:
|
||||
case BASE_ITEM_LONGSWORD:
|
||||
case BASE_ITEM_RAPIER:
|
||||
case BASE_ITEM_ELVEN_COURTBLADE:
|
||||
case BASE_ITEM_ELVEN_LIGHTBLADE:
|
||||
case BASE_ITEM_ELVEN_THINBLADE:
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void DoRacialEquip(object oPC, int nBaseType);
|
||||
|
||||
//return if PC has proficiency in an item
|
||||
|
||||
Reference in New Issue
Block a user