generated from Jaysyn/ModuleTemplate
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Summon Baatezu
|
|
//:: x2_s1_summbaatez
|
|
//:: Copyright (c) 2003 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Summons an Erinyes to aid the caster in combat
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Georg Zoeller
|
|
//:: Created On: 2003-07-24
|
|
//:://////////////////////////////////////////////
|
|
|
|
#include "inc_multisummon"
|
|
|
|
void main()
|
|
{
|
|
int nDuration = GetHitDice(OBJECT_SELF);
|
|
string sSummon = "x2_erinyes";
|
|
if(nDuration < SUMMON_DURATION_MIN)
|
|
nDuration = SUMMON_DURATION_MIN;
|
|
if(GetLocalInt(GetModule(), "PnPSummonDuration")==FALSE)
|
|
nDuration = 24;
|
|
int nFNF_Effect = VFX_FNF_SUMMON_MONSTER_3;
|
|
if(GetLocalInt(GetModule(), "PnPSummonDuration")==FALSE)
|
|
PrimoEffectSummonCreature(sSummon, nFNF_Effect,
|
|
GetSpellTargetLocation(), DURATION_TYPE_TEMPORARY, HoursToSeconds(nDuration));
|
|
else
|
|
PrimoEffectSummonCreature(sSummon, nFNF_Effect,
|
|
GetSpellTargetLocation(), DURATION_TYPE_TEMPORARY, RoundsToSeconds(nDuration));
|
|
}
|