2025/08/05 Update

Added Regenerate Ring spell.
Added Regenerate Circle spell.
Added Leonal's Roar spell.
Added Summon Nature's Ally I-IX spells.
Added Lion of Talisid PrC.
Added Favored of the Companions Feat.
Corrected Regenerate Serious Wounds level.
Corrected Regenerate Critical Wounds level.
Removed Baelnorn class and added Baelnorn template.
This commit is contained in:
Jaysyn904
2025-08-05 18:58:54 -04:00
parent 20281d284d
commit dd67019103
158 changed files with 93051 additions and 64695 deletions

View File

@@ -0,0 +1,37 @@
// PnP Improved Grab Attack - Item Unique OnHit Script
//
#include "prc_inc_combmove"
#include "prc_misc_const"
void main()
{
object oPC = OBJECT_SELF;
object oItem = PRCGetSpellCastItem();
object oTarget = PRCGetSpellTargetObject();
string sGrapplerName = GetName(oPC);
int GrappleBonus = GetLocalInt(oPC, "GRAPPLE_BONUS");
int PCSize = PRCGetSizeModifier(oPC);
int TargetSize = PRCGetSizeModifier(oTarget);
int GrappleChance = d100();
// You automatically lose an attempt to hold if the target is two or more size categories larger than you are.
if (TargetSize - 2 >= PCSize)
{
FloatingTextStringOnCreature("This creature is too large to grapple.", oPC);
return;
}
// Don't try to grapple on every attack.
if (GrappleChance >= 66)
{
return;
}
FloatingTextStringOnCreature("The "+sGrapplerName+" is trying to grab you!", oTarget);
DoGrapple(oPC, oTarget, GrappleBonus, FALSE, TRUE);
}