40 lines
902 B
Plaintext
40 lines
902 B
Plaintext
#include "nw_i0_spells"
|
|
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.2
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
void main()
|
|
{
|
|
object oPC;
|
|
|
|
oPC = GetItemActivator();
|
|
|
|
object oTarget;
|
|
oTarget=GetHenchman(oPC);
|
|
|
|
RemoveHenchman(oPC, oTarget);
|
|
|
|
DestroyObject(oTarget);
|
|
|
|
oTarget = GetAssociate(ASSOCIATE_TYPE_SUMMONED, oPC);
|
|
|
|
if (GetIsObjectValid(oTarget)) RemoveSummonedAssociate(oPC, oTarget);
|
|
|
|
if (GetIsObjectValid(oTarget)) DestroyObject(oTarget);
|
|
|
|
oTarget = GetAssociate(ASSOCIATE_TYPE_DOMINATED, oPC);
|
|
|
|
if (GetIsObjectValid(oTarget)) RemoveSpecificEffect(EFFECT_TYPE_DOMINATED, oTarget);
|
|
|
|
if (GetIsObjectValid(oTarget)) DestroyObject(oTarget);
|
|
|
|
effect eEffect;
|
|
eEffect = EffectSummonCreature("magmalord", VFX_FNF_FIRESTORM, 1.0);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oPC, 3600.0);
|
|
|
|
}
|
|
|