Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,27 @@
//::///////////////////////////////////////////////
//:: Unicorn Blood Damage 1
//:: ravage_uncrnbld1
//:://////////////////////////////////////////////
/*
1d3 Str damage
*/
//:://////////////////////////////////////////////
//:: Created By: Ornedan
//:: Created On: 10.01.2005
//:://////////////////////////////////////////////
#include "prc_inc_spells"
#include "inc_ravage"
void main()
{
object oTarget = OBJECT_SELF;
// Ravages only affect evil creatures
if (GetAlignmentGoodEvil(oTarget)!=ALIGNMENT_EVIL) return;
int nExtra = GetRavageExtraDamage(oTarget);
effect eVis = GetRavageVFX();
ApplyAbilityDamage(oTarget, ABILITY_STRENGTH, d3(1) + nExtra, DURATION_TYPE_PERMANENT, TRUE);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
}