Files
PoA_PRC8/_module/nss/0c_cast_polymorp.nss
Jaysyn904 cbf0febd8b 2025/10/21 Update
Added PEPS AI.
Hopefully stopped "bleed" bug after being healed from dying.
Full compile.
2025-10-21 10:30:05 -04:00

16 lines
649 B
Plaintext

/*////////////////////////////////////////////////////////////////////////////////////////////////////
Script Name: 0c_cast_polymorp
Programmer: Philos
//////////////////////////////////////////////////////////////////////////////////////////////////////
Conversation script to have a henchman cast a polymorph spell.
int nSpell is the spell to cast.
*/////////////////////////////////////////////////////////////////////////////////////////////////////
#include "0i_items"
void main()
{
object oHenchman = OBJECT_SELF;
int nSpell = StringToInt (GetScriptParam ("nSpell"));
ActionCastSpellAtObject (nSpell, oHenchman, 255, TRUE);
}