Battledale_PRC8/_module/nss/px_poison_fount.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

11 lines
383 B
Plaintext

void main()
{
object oPC = GetLastUsedBy();
if(FortitudeSave(oPC,16,SAVING_THROW_TYPE_POISON) == 0)
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectAbilityDecrease(ABILITY_CONSTITUTION,d6()),oPC,60.0);
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_DISEASE_S),oPC);
FloatingTextStringOnCreature(GetName(oPC)+" chokes on the bitter, rancid water.",oPC);
}
}