We've (dave, MP devs) been discussing a far wider change to the effects of Slow that would be done in trunk. A number of suggestions have come up, so I'd say that we shouldn't implement this until we have created a new consensus on what to do (if one hasn't been agreed upon already in my absence.)

From: Jérémy Rosen <[EMAIL PROTECTED]>
To: [email protected]
Subject: [Wesnoth-dev] Removing ZOC from slowed units
Date: Tue, 01 Nov 2005 12:40:59 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all

it was once sugested on IRC to remove Zone of control for slowed units,
because the slow ability was considered not powerfull enough

the attached patch (also #480 on savannah) implements this behaviour, so
it can be discussed with some code to look at (ok, just a line of code,
but well... :)


do you think it's a good idea

cheers
Boucman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZ1RLSBeC9Fa95UURAiQqAJ9bwXj0S/TKss7dLbd0J03ZcvxocQCeOnVz
SAz4YSAAKJuAWdVZnZjp3fs=
=Jiai
-----END PGP SIGNATURE-----


Index: unit.cpp
===================================================================
--- unit.cpp    (révision 8689)
+++ unit.cpp    (copie de travail)
@@ -499,7 +499,7 @@

 bool unit::emits_zoc() const
 {
-       return type().has_zoc() && stone() == false;
+       return type().has_zoc() && stone() == false && !has_flag("slowed");
 }

 bool unit::matches_filter(const config& cfg) const


_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev



Reply via email to