Change 3428

From Tsunami Wiki
Jump to: navigation, search

Originally Posted : Fri Aug 01 14:43:47 2008
Posted by : Razan
Title : envvar 'nopk'

OK so you guys probably know about the environment variable,
'nopk'. What it does is, if set, it stops you from engaging
in PK. This means if you, say, cast an area of effect spell
and some player walks in it doesn't hit them (especially useful
for like quake which causes people to drop money, making you a
thief).

This has worked for a while. However, what didn't work in the
opinion of the Arch Council (TM) if that if someone attacked
you and you had 'nopk' set you literally would just sit there
taking damage without even autoattacking back. If you tried to
use an active spell, itwould tell you you couldn't with nopk
set. So you'd have to try and unset that while fleeing.

Anyway, I've changed it so that if you have nopk set and are
either the aggressor on someone (to get that way, you would have
had to not had this variable set anyway, but technically you
could turn it on midfight) *OR* (and more likely) if you were
the VICTIM and have 'nopk' set then you will ignore that
setting and fight anyway.

You'll see a message like:

You fight back even with 'nopk' set!

Enjoy and be careful, your previous wimpy idle targets with
nopk set will now be at least autoattacking back! :)

- Raza.