Usage:

setMayor stat (or remove)

Example:

setMayor pol

||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Arguments: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">pol atk

This command will change your current mayor for one of the specified attribute (or set mayor to none). It automatically selects the highest level of the attribute that you specify (stat is the label for the attribute argument). This is very useful when creating, upgrading and demolishing buildings, as you can specify the highest level politic hero you have to go into office. Capturing a npc10 and only have a level 9 Feasting hall in one city? You can remove the mayor with this command to make sure he marches with the rest of the troops.

examples:

setmayor pol

appoints highest politic hero to mayor

setmayor att

appoints highest attack hero to mayor

setmayor int

appoints highest intel hero to mayor

setmayor remove

demotes current mayor



ScriptHero

SetMayor (last edited 2015-04-03 05:54:11 by tech)