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.
11 lines
383 B
Plaintext
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);
|
|
}
|
|
}
|