2025/07/01 Afternoon Update
Tweaked ninja TLK entry. War Domain weapon focus now uses EffectBonusFeat(). Vow of Poverty reapplies chosen stat bonuses and saves on new module (@Anufis) Created spell constant for Snap Kick. Tweaked Baleful Utterance. IPDamageConstant() had a cap that it shouldn't have had. Completely moved Assassin over to be a prepared caster ala 3e D&D. Tweaked a few feat.2da entries for minor stuff. Set torch as a monk weapon in baseitems.2da, so it doesns't screw up Flurry of Blows.
This commit is contained in:
@@ -44,15 +44,25 @@ void main()
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eLink, oTarget);
|
||||
} */
|
||||
int nType = GetObjectType(oTarget);
|
||||
|
||||
if ((nType == OBJECT_TYPE_DOOR || nType == OBJECT_TYPE_PLACEABLE || nType == OBJECT_TYPE_TRIGGER) &&
|
||||
!GetPlotFlag(oTarget) &&
|
||||
GetIsTrapped(oTarget))
|
||||
|
||||
// Exclude all plot objects
|
||||
if (GetPlotFlag(oTarget))
|
||||
return;
|
||||
|
||||
// Fire on all doors and placeables
|
||||
if (nType == OBJECT_TYPE_DOOR || nType == OBJECT_TYPE_PLACEABLE)
|
||||
{
|
||||
effect eDamage = EffectDamage(9999, DAMAGE_TYPE_MAGICAL);
|
||||
effect eLink = EffectLinkEffects(eDamage, eVis);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eLink, oTarget);
|
||||
}
|
||||
}
|
||||
// Fire only on triggers that are trapped
|
||||
else if (nType == OBJECT_TYPE_TRIGGER && GetIsTrapped(oTarget))
|
||||
{
|
||||
effect eDamage = EffectDamage(9999, DAMAGE_TYPE_MAGICAL);
|
||||
effect eLink = EffectLinkEffects(eDamage, eVis);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eLink, oTarget);
|
||||
}
|
||||
else if(nType == OBJECT_TYPE_CREATURE)
|
||||
{
|
||||
PRCSignalSpellEvent(oTarget, TRUE, INVOKE_BALEFUL_UTTERANCE, OBJECT_SELF);
|
||||
|
Reference in New Issue
Block a user