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,32 +0,0 @@
/*
Talonas Blight.
*/
const int DISEASE_TALONAS_BLIGHT = 52;
#include "prc_alterations"
#include "prc_inc_spells"
void main()
{
object oPC = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
int iDC = GetLevelByClass(CLASS_TYPE_BLIGHTLORD) + GetAbilityModifier(ABILITY_WISDOM, oPC) + 10;
effect eDisease = EffectDisease(DISEASE_TALONAS_BLIGHT);
int iPenalty = d4(1);
if (TouchAttackMelee(oTarget) > 0)
{
//Make a saving throw check
if(!PRCMySavingThrow(SAVING_THROW_FORT, oTarget, iDC, SAVING_THROW_TYPE_SPELL))
{
SetLocalInt(oTarget, "BlightDC", iDC);
SetLocalObject(oTarget, "BlightspawnCreator", oPC);
//The effect is permament because the disease subsystem has its own internal resolution
//system in place.
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eDisease, oTarget,0.0f,TRUE,-1,iDC);
}
}
}