53 lines
1.1 KiB
Plaintext
53 lines
1.1 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 (GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, oPC) > 14)
|
|
// if (GetHitDice(oPC) >= 21)
|
|
{
|
|
|
|
effect eEffect;
|
|
eEffect = EffectSummonCreature("spearmaiden003", VFX_FNF_TIME_STOP, 1.0);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oPC);
|
|
|
|
}
|
|
|
|
else if (GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, oPC) > 9)
|
|
{
|
|
|
|
effect eEffect;
|
|
eEffect = EffectSummonCreature("spearmaiden002", VFX_FNF_TIME_STOP, 1.0);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oPC);
|
|
|
|
}
|
|
else
|
|
|
|
{
|
|
|
|
effect eEffect;
|
|
eEffect = EffectSummonCreature("spearmaiden1", VFX_FNF_TIME_STOP, 1.0);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oPC);
|
|
|
|
}
|
|
}
|
|
|