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,23 @@
#include "prc_inc_sp_tch"
void main()
{
//Declare major variables
object oTarget = PRCGetSpellTargetObject();
effect eSun = EffectVisualEffect(VFX_IMP_SUNSTRIKE);
effect eBolt;
int iDice = GetHitDice(GetMaster())/5+GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT,GetMaster());
//Make a saving throw check
if (PRCDoRangedTouchAttack(oTarget))
{
eBolt = EffectDamage(d8(1),DAMAGE_TYPE_POSITIVE);
eBolt = SupernaturalEffect(eBolt);
//Apply the VFX impact and effects
ApplyEffectToObject(DURATION_TYPE_INSTANT, eBolt, oTarget);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eSun, oTarget);
}
}