2025/12/14 Update

Spellfire Channeler was missing Improved Healing at 2nd level.
Added "Crafted Vial" CWI crafting baseitem type.
Added Craft Scepter crafting feat.
Added Magical Artisan: Craft Scepter.
Adjusted Hemp Rope label in iprp_material.2da & iprp_matcost.2da
Added Aroma of Death CWI crafting item and spell to support it.
Added Beetle Elixir CWI crafting item and spells to support it.
Added Harness of Armor CWI crafting item.
Swarm Tactics was missing a heartbeat script.
Added crafted descriptions for all CWI items in craft_wondrous.2da
Updated fileends for updated crafting options.
Scepters count as clubs for feats.
Gated errant DEBUG in prc_inc_nat_hb.
Added new switches for scepter crafitng.
Updated PRC Options magic supplies store for new crafting bastitems.
This commit is contained in:
Jaysyn904
2025-12-14 16:50:21 -05:00
parent 25bdd2ed4f
commit 3ebdc0ba62
56 changed files with 22015 additions and 21195 deletions

View File

@@ -35,6 +35,8 @@ int GetWeaponAnimateSize(object oTarget)
return SIZE_MEDIUM;
break;
case BASE_ITEM_DWARVENWARAXE:
case BASE_ITEM_CRAFTED_SCEPTER:
case BASE_ITEM_CLUB:
case BASE_ITEM_BATTLEAXE:
case BASE_ITEM_DAGGER:
case BASE_ITEM_HANDAXE:
@@ -112,6 +114,8 @@ int GetIsValidAnimate(object oTarget)
case BASE_ITEM_BASTARDSWORD:
case BASE_ITEM_BATTLEAXE:
case BASE_ITEM_DAGGER:
case BASE_ITEM_CLUB:
case BASE_ITEM_CRAFTED_SCEPTER:
case BASE_ITEM_DIREMACE:
case BASE_ITEM_DOUBLEAXE:
case BASE_ITEM_DWARVENWARAXE:

View File

@@ -76,7 +76,10 @@ void main()
int bEnlarge = ((nSpellID == SPELL_ENLARGE_PERSON) ||
(nSpellID == SPELL_ENLARGE_PERSON_MASS));
AddEventScript(oTarget, EVENT_ONPLAYERREST_FINISHED, "sp_enred", TRUE, FALSE);
//:: Attempt to fix older characters.
RemoveEventScript(oTarget, EVENT_ONPLAYERREST_FINISHED, "sp_enred", TRUE, FALSE);
RemoveEventScript(oTarget, EVENT_ONPLAYERREST_STARTED, "sp_enred", TRUE, FALSE);
AddEventScript(oTarget, EVENT_ONPLAYERREST_FINISHED, "sp_enred", TRUE, FALSE);
if(nMetaMagic & METAMAGIC_EXTEND) fDuration *= 2;
location lTarget;

View File

@@ -353,21 +353,19 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent)
if (nBaseItemType == BASE_ITEM_QUARTERSTAFF && !GetIsMagicItem(oMyWeapon))
{
// Execute the code for non-magical quarterstaff here
bCondition = bCondition && TRUE; // Update the condition as needed
fDuration = TurnsToSeconds(nDuration);
}
else if (nBaseItemType == BASE_ITEM_CLUB && !GetIsMagicItem(oMyWeapon))
{
// Execute the code for non-magical club here
bCondition = bCondition && TRUE; // Update the condition as needed
fDuration = TurnsToSeconds(nDuration);
}
else
{
// Invalid weapon type, do nothing or handle the error here
// Invalid weapon type
bCondition = bCondition && FALSE; // Update the condition as needed
fDuration = 0.0; // Update the duration as needed