Alangara_PRC8/_module/nss/valkyriefigurine.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

52 lines
1.0 KiB
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
// Tarashon der selv har luret scripts i editor p 2 forskellige mder og kombinenet principperne.
// Hvis det virker det her er jeg sku helt stolt, MUHAHAHAHA.
void main()
{
object oPC;
oPC = GetItemActivator();
object oTarget;
oTarget = GetAssociate(ASSOCIATE_TYPE_SUMMONED, oPC);
if (GetIsObjectValid(oTarget)) RemoveSummonedAssociate(oPC, oTarget);
if (GetHitDice(oPC) >= 21)
{
effect eEffect;
eEffect = EffectSummonCreature("valkyrie3", VFX_FNF_TIME_STOP, 1.0);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oPC);
}
else if (GetHitDice(oPC) >= 17)
{
effect eEffect;
eEffect = EffectSummonCreature("valkyrie2", VFX_FNF_TIME_STOP, 1.0);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oPC);
}
else
{
effect eEffect;
eEffect = EffectSummonCreature("valkyrie", VFX_FNF_TIME_STOP, 1.0);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oPC);
}
}