Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
/*:://////////////////////////////////////////////
//:: Spell Name Circle of Death
//:: Spell FileName PHS_S_CircleDeth
//:://////////////////////////////////////////////
//:: In Game Spell desctiption
//:://////////////////////////////////////////////
[Death] Medium (20M) Area: Several living creatures within a 13.33-M.-radius
burst Fortitude negates. SR applies.
A circle of death snuffs out the life force of living creatures, killing them
instantly.
The spell slays 1d4 HD worth of living creatures per caster level (maximum 20d4).
Creatures with the fewest HD are affected first; among creatures with equal HD,
those who are closest to the burst<73>s point of origin are affected first. No
creature of 9 or more HD can be affected, and Hit Dice that are not sufficient
to affect a creature are wasted.
Material Component: The powder of a crushed black pearl with a minimum value of
500 gp.
//:://////////////////////////////////////////////
//:: Spell Effects Applied / Notes
//:://////////////////////////////////////////////
As the spell - Bioware's is almost like this.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
#include "PHS_INC_SPELLS"
void main()
{
// Spell Hook Check.
if(!PHS_SpellHookCheck(PHS_SPELL_CIRCLE_OF_DEATH)) return;
// Declare major variables
object oCaster = OBJECT_SELF;
object oTarget;
location lTarget = GetSpellTargetLocation();
int nCasterLevel = PHS_GetCasterLevel();
int nSpellSaveDC = PHS_GetSpellSaveDC();
int nMetaMagic = PHS_GetMetaMagicFeat();
// Limit dice up to 20.
int nDice = PHS_LimitInteger(nCasterLevel, 20);
// Get amount of HD we can kill -
// The spell slays 1d4 HD worth of living creatures per caster level (maximum 20d4).
int nMaxHD = PHS_MaximizeOrEmpower(4, nDice, nMetaMagic);
}