PWE_PRC8/_module/nss/announcment.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

47 lines
1.0 KiB
Plaintext

object oTarget;
effect eEffect;
// Script by MotoTsume aka Hafur
// Simple slip on ice and take damage script
// The 12 in line "if (ReflexSave(oPC, 12))" can be lowered or
// raised to make it easier or harder to save
// d4(2) can also be changed for more or less damage
//
//Put this OnEnter of Generic Trigger
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
//if (ReflexSave(oPC, 14))
{
FloatingTextStringOnCreature("Please Report any bad transitions to our message board with a small description of where and where it was supposed to go, any details will make finding and fixing that much easier. Thank you for any help you offer. ", oPC);
}
//else
//{
//FloatingTextStringOnCreature("You slipped on the ice!", oPC);
//eEffect = EffectDamage(d6(2), DAMAGE_TYPE_COLD, DAMAGE_POWER_NORMAL);
//ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC);
// oTarget = oPC;
//eEffect = EffectKnockdown();
//ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 10.0f);
}
//}