Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,26 +0,0 @@
#include "prc_inc_sp_tch"
void main()
{
//Declare major variables
object oTarget = PRCGetSpellTargetObject();
int nDamage = d10(10);
effect eVis = EffectVisualEffect(VFX_IMP_DEATH_L);
effect eDam = EffectDamage(nDamage, DAMAGE_TYPE_MAGICAL);
int nTouchAttack = PRCDoMeleeTouchAttack(oTarget);;
if (nTouchAttack > 0)
{
// This ability does not work on critical immunes.
if(!GetIsReactionTypeFriendly(oTarget) && !GetIsImmune(oTarget, IMMUNITY_TYPE_CRITICAL_HIT))
{
//Fire cast spell at event for the specified target
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, GetSpellId()));
//Apply the VFX impact and effects
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oTarget);
}
}
}