// string sDeny; /* Script generated by Lilac Soul's NWN Script Generator, v. 2.3 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ //Put this script OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; if (GetItemPossessedBy(oPC, "tokenofgaia")== OBJECT_INVALID) { // sDeny="You find nothing here but old dusty and ruined tomes"; // SendMessageToPC(oPC, sDeny); FloatingTextStringOnCreature("You find nothing but old and useless dusty tomes in the bookshelve.", oPC); return; } object oTarget; oTarget = oPC; ActionCastSpellAtObject(SPELL_BIGBYS_CRUSHING_HAND, oTarget, METAMAGIC_ANY, TRUE, 20, PROJECTILE_PATH_TYPE_DEFAULT, TRUE); effect eEffect; eEffect = EffectSlow(); eEffect = SupernaturalEffect(eEffect); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 60.0f); ActionCastSpellAtObject(SPELL_ISAACS_LESSER_MISSILE_STORM, oTarget, METAMAGIC_ANY, TRUE, 20, PROJECTILE_PATH_TYPE_DEFAULT, TRUE); }