PRC8_fork/trunk/newspellbook/moi_mld_bsttmrtm.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

22 lines
974 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
31/12/19 by Stratovarius
Beast Tamer Circlet Totem Bind
Instead of a gleaming silver band around your head, your beast tamer circlet manifests as a ring of silver hair, while all the hair on your head becomes long and coarse like a beasts mane.
You gain the ability to use animal trance, as the spell. You can use this ability once per minute if you have essentia invested in this soulmeld.
*/
#include "moi_inc_moifunc"
void main()
{
object oMeldshaper = OBJECT_SELF;
if (GetEssentiaInvested(oMeldshaper, MELD_BEAST_TAMER_CIRCLET))
{
ActionDoCommand(SetLocalInt(oMeldshaper, "SpellIsSLA", TRUE));
ActionCastSpell(SPELL_ANIMAL_TRANCE, GetMeldshaperLevel(oMeldshaper, CLASS_TYPE_TOTEMIST, MELD_BEAST_TAMER_CIRCLET), 0, GetMeldshaperDC(oMeldshaper, CLASS_TYPE_TOTEMIST, MELD_BEAST_TAMER_CIRCLET), METAMAGIC_NONE, CLASS_TYPE_INVALID, FALSE, FALSE, OBJECT_INVALID, FALSE);
ActionDoCommand(DeleteLocalInt(oMeldshaper, "SpellIsSLA"));
}
}