2026/01/22 Update 2
Mechanatrixes always fail saves vs elecricity. Incorporated most creature ability scripts into the PRC8 & updated them to use PRCEffect(), SPApplyEffectToObject(), etc. Updated prc_inc_breath to use PRCEffectDamage() Updated several spell scripts to use PRCEffectDamage().
This commit is contained in:
@@ -87,7 +87,7 @@ void main()
|
||||
if (!PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nSaveDC, SAVING_THROW_TYPE_SONIC, oCaster, fDelay))
|
||||
{
|
||||
int nDmg = d6(2);
|
||||
effect eSonicDmg = EffectDamage(nDmg, DAMAGE_TYPE_SONIC);
|
||||
effect eSonicDmg = PRCEffectDamage(oTarget, nDmg, DAMAGE_TYPE_SONIC);
|
||||
effect eSonicLink = EffectLinkEffects(eSonicVFX, eSonicDmg);
|
||||
DelayCommand(fDelay, SPApplyEffectToObject(DURATION_TYPE_INSTANT, eSonicLink, oTarget));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user