Added Dynamic Kobolds

Added Dynamic Kobolds.  Fixed ghoul / wight texture.  Added Jann model. Made PnP Zombie, Ghoul, Ghast, Wight & Mohrg creatures.  Full Compile
This commit is contained in:
Jaysyn904
2022-12-15 23:41:10 -05:00
parent f2671cdf85
commit b511431250
1187 changed files with 763989 additions and 30426 deletions

View File

@@ -0,0 +1,54 @@
//::
//:: Ghoul_touch
//::
//:: A pnp version of the Ghoul's diseased & paralytic bite.
//::
//:: Modified by: DM Heatstroke 01-19-11
//::
#include "nw_i0_spells"
#include "nw_i0_plot"
#include "prc_inc_spells"
void DoGhoulBite(object oTarget, object oCaster)
{ // Setup disease
effect eVis1 = EffectVisualEffect(VFX_IMP_DISEASE_S);
effect eDisease = EffectDisease(DISEASE_GHOUL_ROT);
eDisease = ExtraordinaryEffect(eDisease);
effect eSick = EffectLinkEffects(eDisease, eVis1);
// Setup paralytic touch
effect eVis2 = EffectVisualEffect(VFX_DUR_PARALYZED);
float fDuration = RoundsToSeconds(d4()+1);
effect eParalyze = EffectParalyze();
eParalyze = ExtraordinaryEffect(eParalyze);
effect eStun = EffectLinkEffects(eParalyze, eVis2);
// Get oCaster's Bite DC
int nCreCHAMod = GetAbilityModifier(ABILITY_CHARISMA, oCaster);
int nCreHD = GetHitDice (oCaster);
int nBiteDC = (10 + (nCreHD/2) + nCreCHAMod);
// Roll a saving throw to resist the paralytic touch
if ( !PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nBiteDC, SAVING_THROW_TYPE_NONE, oCaster) &&
!GetHasFeat(4711, oTarget) && // PRC Elven feat
!GetHasFeat(256, oTarget) ) // Bioware Weapon Prof: Elf
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eStun, oTarget, fDuration);
}
// Roll a saving throw to resist the diseased bite
if ( !PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nBiteDC, SAVING_THROW_TYPE_DISEASE, oCaster) )
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSick, oTarget);
}
}
void main()
{
object oTarget = GetSpellTargetObject();
object oCaster = OBJECT_SELF;
DelayCommand(0.1,DoGhoulBite(oTarget,oCaster));
}