• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • 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 10 and 11
    Revision 10 as of 2015-04-03 05:57:32
    Size: 1510
    Editor: tech
    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:
    ||<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 stat (or remove) || ||<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 ||
    Line 5: Line 5:
    Arguments: pol atk int remove Arguments: att, atk, attack, pol, politics, int, intel, intelligence, none, and remove
    Line 7: Line 7:
    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. 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.
    Line 11: Line 11:
    {{{  .{{{
    // appoints highest politic hero to mayor
    Line 13: Line 14:

    // appoints highest attack hero to mayor
    setmayor att

    // appoints highest intel hero to mayor
    setmayor int

    // demotes current mayor
    setmayor remove
    setmayor none
    Line 14: Line 25:
    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
    Line 32: Line 27:
    ----

    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)