Update to PRC 4.1.10a

Update to PRC 4.1.10a
This commit is contained in:
Jaysyn904
2022-12-09 19:08:32 -05:00
parent edc1ff70e3
commit 6c305aecc5
128 changed files with 48777 additions and 47646 deletions

View File

@@ -29,6 +29,7 @@
void main()
{
if (!PreManeuverCastCode())
{
// If code within the PreManeuverCastCode (i.e. UMD) reports FALSE, do not run this spell
@@ -37,8 +38,10 @@ void main()
// End of Spell Cast Hook
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
object oSkin = GetPCSkin(oInitiator);
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
@@ -57,5 +60,6 @@ void main()
if (GetLocalInt(oInitiator, "TigerFangSharpClaw")) eScent = EffectLinkEffects(eScent, EffectDamageIncrease(DAMAGE_BONUS_1, DAMAGE_TYPE_BASE_WEAPON));
eScent = ExtraordinaryEffect(eScent);
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eScent, oTarget);
IPSafeAddItemProperty(oSkin, ItemPropertyBonusFeat(IP_CONST_FEAT_KEEN_SENSES), 0.0f, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
}
}