31 lines
620 B
Plaintext
31 lines
620 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this on action taken in the conversation editor
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "SymboloftheNosferatu");
|
|
|
|
if (GetIsObjectValid(oItem))
|
|
DestroyObject(oItem);
|
|
|
|
AdjustAlignment(oPC, ALIGNMENT_GOOD, 1);
|
|
|
|
object oCaster;
|
|
oCaster = OBJECT_SELF;
|
|
|
|
object oTarget;
|
|
oTarget = oPC;
|
|
|
|
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_BLESS, oTarget, METAMAGIC_ANY, TRUE, 11, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
|
|
|
|
}
|
|
|