PRC8/nwn/trunk/spells/sp_ct_scribe_int.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

16 lines
628 B
Plaintext

void main()
{
// Get the caster, set the chosen tatoo effect, and cast the scribe
// tatoo spell, cheating because the scribe spell isn't on anyone's
// spell list and doing it instantly because we've already done
// the spell incantation.
object oPC = GetPCSpeaker();
SetLocalInt(oPC, "SP_CREATETATOO_EFFECT", 5);
AssignCommand(oPC,
ActionCastSpellAtObject(
GetLocalInt(oPC, "SP_CREATETATOO_SPELLID"),
GetLocalObject(oPC, "SP_CREATETATOO_TARGET"),
GetLocalInt(oPC, "SP_CREATETATOO_METAMAGIC"),
TRUE, 0, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
}