RATDOG/_module/nss/cv_pc_death.nss
Jaysyn904 e03053bd65 More quest persistence
More quest persistence & cleanup.
2022-06-20 14:17:58 -04:00

29 lines
673 B
Plaintext

//::///////////////////////////////////////////////
//:
//:: cv_pc_death.nss
//:: Copyright (c) 2022 Project RATDOG
//:
//:://////////////////////////////////////////////
/*
Kills the PC outright in a conversation
*/
//:://////////////////////////////////////////////
//::
//:: Created By: Jaysyn
//:: Created On: 20220620
//::
//:://////////////////////////////////////////////
void main()
{
//:: Declare major variables.
object oPC = GetPCSpeaker();
effect eDeath = EffectDeath();
effect eDam = EffectDamage(9999);
effect eLink = EffectLinkEffects(eDeath, eDam);
//:: Kills the PC.
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC);
}