Finished PRC8 integration

Finished PRC8 integration.  Moved creature abilities to top hak.  Setup tooling.  Created release archive
This commit is contained in:
Jaysyn904
2024-03-12 21:27:23 -04:00
parent 7b9e44ebbb
commit e5b3f6ad61
958 changed files with 1491 additions and 630 deletions

View File

@@ -14,9 +14,10 @@ This spell produces a random spell effect.
//:://////////////////////////////////////////////////
#include "x0_i0_petrify"
#include "x0_i0_spells"
//#include "x0_i0_spells"
#include "x0_i0_common"
#include "x0_i0_position"
#include "prc_inc_spells"
/**********************************************************************
* TEMPORARY CONSTANTS
@@ -65,7 +66,7 @@ void main()
object oTarget = GetAttemptedSpellTarget();
if(oTarget == OBJECT_INVALID)
oTarget = oCaster;
location lTargetLoc = GetSpellTargetLocation();
location lTargetLoc = PRCGetSpellTargetLocation();
// Get rid of the casting object
@@ -173,7 +174,7 @@ void main()
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF,
SPELLABILITY_BOLT_LIGHTNING));
nDamage = GetReflexAdjustedDamage(nDamage,
nDamage = PRCGetReflexAdjustedDamage(nDamage,
oTarget,
13,
SAVING_THROW_TYPE_ELECTRICITY);
@@ -490,9 +491,9 @@ void DoBlindnessEffect(object oCaster, location lTarget, float fRadius, int nDur
SPELL_BLINDNESS_AND_DEAFNESS));
//Do SR check
if ( !MyResistSpell(OBJECT_SELF, oTarget)) {
if ( !PRCDoResistSpell(OBJECT_SELF, oTarget)) {
// Make Fortitude save to negate
if (! MySavingThrow(SAVING_THROW_FORT, oTarget, 13)) {
if (! PRCMySavingThrow(SAVING_THROW_FORT, oTarget, 13)) {
//Apply visual and effects
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget,
RoundsToSeconds(nDuration));
@@ -540,7 +541,7 @@ void DoWyrmBreath(object oTarget)
{
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, nSpell));
fDelay = GetDistanceBetween(OBJECT_SELF, oTarget)/20;
nDamStrike = GetReflexAdjustedDamage(nDamage, oTarget, nDC);
nDamStrike = PRCGetReflexAdjustedDamage(nDamage, oTarget, nDC);
if (nDamStrike > 0)
{
eBreath = EffectDamage(nDamStrike, nDamageType);