Пример #1
0
        public override void cast(Map map, Hex hex)
        {
            base.cast(map, hex);

            Property.addProperty(map, map.overmind.enthralled.getLocation(), "Military Aid Outgoing");
            Property.addProperty(map, hex.location, "Military Aid");

            map.world.prefabStore.popImgMsg(
                "You add military support to " + hex.getName() + ". This will increase its military cap, allowing more levies, once the men-at-arms are recruited. It also gives aid to nobles who"
                + " would rebel against their nation.",
                map.world.wordStore.lookup("ABILITY_MILITARY_AID"));
        }
        public override void cast(Map map, Hex hex)
        {
            base.cast(map, hex);

            Property.addProperty(map, hex.location, "Information Blackout");
            foreach (SocialGroup sg in map.socialGroups)
            {
                map.recomputeInformationAvailability(sg);
            }

            map.world.prefabStore.popImgMsg(
                hex.getName() + " loses touch with the world, preventing information from getting through."
                + "Messengers get lost, carrier pidgeons never arrive. Nobles will fear groups less if they have less information about them.",
                map.world.wordStore.lookup("ABILITY_INFORMATION_BLACKOUT"));
        }
 public override void cast(Map map, Hex hex)
 {
     World.log("Test ability cast on hex " + hex.getName());
 }