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,34 +0,0 @@
//::///////////////////////////////////////////////
//:: Foe Hunter
//:://////////////////////////////////////////////
/*
Warchief devoted bodyguards
*/
//:://////////////////////////////////////////////
//:: Created By: Oni5115
//:: Created On: Mar 17, 2004
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
object oPC = OBJECT_SELF;
int iDamageTaken = GetTotalDamageDealt();
int nCheck = FALSE;
object oTarget = MyFirstObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_HUGE, GetLocation(oPC), TRUE);
while(GetIsObjectValid(oTarget) && !nCheck)
{
if(spellsIsTarget(oTarget, SPELL_TARGET_ALLALLIES, oPC) && oTarget != oPC)
{
// This is the damage being shifted from the Warchief to an ally
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(iDamageTaken), oTarget);
nCheck = TRUE;
}
oTarget = MyNextObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_HUGE, GetLocation(oPC), TRUE);
}
if(nCheck)
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectHeal(iDamageTaken), oPC);
}