Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
34
trunk/newspellbook/moi_mld_basmskft.nss
Normal file
34
trunk/newspellbook/moi_mld_basmskft.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
30/12/19 by Stratovarius
|
||||
|
||||
Basilisk Mask Totem Bind
|
||||
|
||||
Behind the mask, your eyes glow with a pale green radiance that is clearly visible through the eyes of the basilisk. There is a sense of weight in your forehead, but it is not entirely unpleasant<6E>more like a power anxious to be exercised.
|
||||
|
||||
By directing your gaze on a creature within 30 feet, you can temporarily turn that creature to stone (as the flesh to stone spell, except that the duration is only 1 round). A successful Fortitude save negates this effect.
|
||||
*/
|
||||
|
||||
#include "moi_inc_moifunc"
|
||||
#include "prc_inc_sp_tch"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMeldshaper = OBJECT_SELF;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
int nEssentia = GetEssentiaInvested(oMeldshaper, MELD_BASILISK_MASK);
|
||||
int nMeldshaperLvl;
|
||||
int nDC = GetMeldshaperDC(oMeldshaper, CLASS_TYPE_TOTEMIST, MELD_BASILISK_MASK);
|
||||
|
||||
// Only creatures, and PvP check.
|
||||
if(!GetIsReactionTypeFriendly(oTarget))
|
||||
{
|
||||
// Check Spell Resistance
|
||||
if(!PRCDoResistSpell(oMeldshaper, oTarget, nMeldshaperLvl))
|
||||
{
|
||||
if(!PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nDC, SAVING_THROW_TYPE_NONE))
|
||||
{
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectPetrify(), oTarget, 6.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user