Thank you.
P.S. When I first started posting in this forum I had no idea how ZScript works and from all the help I've gotten I've been able to figure out a lot of really cool stuff and now it's all clicking! I can't thank you folks enough.
Edit: Nevermind! I figured it out on my own!
Just in case anyone wants to do something similar, this was added to the projectile:
Code: Select all
override int DoSpecialDamage (Actor victim, int damage, Name damagetype)
{
if (victim.player)
{
victim.PoisonDamageReceived=(formula);
victim.PoisonDurationReceived=(formula);
return damage;
}
return 0;
}