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

17 lines
554 B
Plaintext

/*****************************************************
* Feat: Walk Through the Mountains
* Description: For 2 rounds per level
* (spell: etheralness). Used once a day.
*
* by Jeremiah Teague
*****************************************************/
void main()
{
object oPC = OBJECT_SELF;
int nHD = GetHitDice(oPC);
float fDuration = RoundsToSeconds(nHD * 2);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectEthereal(), oPC, fDuration);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_GREATER), oPC);
}