Author: sveinung
Date: Fri May 12 14:55:27 2017
New Revision: 35519

URL: http://svn.gna.org/viewcvs/freeciv?rev=35519&view=rev
Log:
Auto help: document tired attack.

See hrm Feature #659208

Modified:
    trunk/client/helpdata.c

Modified: trunk/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/helpdata.c?rev=35519&r1=35518&r2=35519&view=diff
==============================================================================
--- trunk/client/helpdata.c     (original)
+++ trunk/client/helpdata.c     Fri May 12 14:55:27 2017
@@ -2386,6 +2386,14 @@
                        "type it upgrades to.\n"),
                      utype_name_translation(utype->obsoleted_by));
         break;
+      case ACTION_ATTACK:
+        if (game.info.tired_attack) {
+          cat_snprintf(buf, bufsz,
+                       _("  * weaker when tired. If performed with less "
+                         "than a single move point left the attack power "
+                         "is reduced accordingly.\n"));
+          break;
+        }
       default:
         /* No action specific details. */
         break;


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to