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,20 @@
//::///////////////////////////////////////////////
//:: codi_pre_death
//:://////////////////////////////////////////////
/*
Ocular Adept: Finger of Death
*/
//:://////////////////////////////////////////////
//:: Created By: James Stoneburner
//:: Created On: 2003-11-30
//:://////////////////////////////////////////////
#include "prc_inc_sp_tch"
void main()
{
int nLevel = GetLevelByClass(CLASS_TYPE_OCULAR);
if (DEBUG) FloatingTextStringOnCreature("Your Ocular Adept class level is: " + IntToString(nLevel), OBJECT_SELF);
int nDC = 10 + (nLevel/2) + GetAbilityModifier(ABILITY_CHARISMA);
if (DEBUG) FloatingTextStringOnCreature("Your Ocular Adept DC is: " + IntToString(nDC), OBJECT_SELF);
DoSpellRay(SPELL_FINGER_OF_DEATH, nLevel, nDC);
}