• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "SetMayor"
    Differences between revisions 2 and 11 (spanning 9 versions)
    Revision 2 as of 2012-10-21 04:57:37
    Size: 1496
    Editor: Inanna
    Comment:
    Revision 11 as of 2015-09-07 22:11:23
    Size: 1531
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ||<tablestyle="margin: 1em 1em 1em 0px; background-color: rgb(249, 249, 249); border-style: solid; border-color: rgb(170, 170, 170); color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.5px; text-align: start; " tableclass="wikitable"style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Usage:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">setMayor stat||
    ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">setMayor pol ||
    ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Arguments:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">pol<<BR>>atk<<BR>>int ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">setMayor attribute ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">setMayor pol ||
    Line 5: Line 4:
    This command will change your current mayor for one of the specified attribute. 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.
    Arguments: att, atk, attack, pol, politics, int, intel, intelligence, none, and remove

    This command will change your current mayor for one of the specified attributes or will demote the mayor completely. It automatically selects the highest level of the attribute that you specify. This is very useful when creating, upgrading and demolishing buildings via script, 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:'''

     .{{{
    // appoints highest politic hero to mayor
    setmayor pol

    // appoints highest attack hero to mayor
    setmayor att

    // appoints highest intel hero to mayor
    setmayor int

    // demotes current mayor
    setmayor remove
    setmayor none
    }}}
    Line 7: Line 27:
    CategoryHero ScriptHero

    Usage:

    setMayor attribute

    Example:

    setMayor pol

    Arguments: att, atk, attack, pol, politics, int, intel, intelligence, none, and remove

    This command will change your current mayor for one of the specified attributes or will demote the mayor completely. It automatically selects the highest level of the attribute that you specify. This is very useful when creating, upgrading and demolishing buildings via script, 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:

    • // appoints highest politic hero to mayor
      setmayor pol
      
      // appoints highest attack hero to mayor
      setmayor att
      
      // appoints highest intel hero to mayor
      setmayor int
      
      // demotes current mayor
      setmayor remove
      setmayor none


    ScriptHero

    SetMayor (last edited 2015-09-07 22:12:23 by Inanna)