Alangara_PRC8/_module/nss/museumpie.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

25 lines
577 B
Plaintext

// Script for the pie's buyable in the museum. Adding strengh and constitution for 24 hours.
// primarely ment to aid the nonecaster melee classes.
// Tarashon
void main()
{
object oPC;
oPC = GetItemActivator();
object oCaster;
oCaster = oPC;
object oTarget;
oTarget = oPC;
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_ENDURANCE, oTarget, METAMAGIC_ANY, TRUE, 24, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
oCaster = oPC;
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_BULLS_STRENGTH, oTarget, METAMAGIC_ANY, TRUE, 24, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
}