Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
databases:items:newvariables [2015/10/06 14:32]
databases:items:newvariables [2020/06/30 21:13] (current)
Line 1: Line 1:
 +**Variables and Special Characters**
 +
 +These are all of the variables and special characters you can use in various skills.
 +
 +**These are for MythicMobs 2.0.0(Build #590 or higher)** ​
 +\\ For the old variables please use the [[Databases/​items/​variables|Legacy Variables]] page
 +
 +^**Variable**^**Function**^ ​
 +|**Mob Variables**|
 +|<​mob.uuid>​|Returns the UUID of the mob|
 +|<​mob.level>​|Returns the level of the mob|
 +|<​mob.name>​|Returns the name of the mob|
 +|<​mob.hp>​|Returns current hp of the mob|
 +|<​mob.mhp>​|Returns the max hp of the mob|
 +|<​mob.php>​|Returns the percent hp of the mob|
 +|<​mob.thp>​|Returns the full number hp of the mob|
 +|<​mob.tt.top>​|Returns the name of the top threat holder of the mob|
 +|<​mob.l.w>​|Returns the world name the mob is in|
 +|<​mob.l.x>​|Returns the X coordinate of the mob|
 +|<​mob.l.y>​|Returns the Y coordinate of the mob|
 +|<​mob.l.z>​|Returns the Z coordinate of the mob|
 +
 +^**Variable**^**Function**^ ​
 +|**Target Variables**|
 +|<​target.uuid>​|Returns the UUID of the target|
 +|<​target.name>​|Returns the name of the target|
 +|<​target.hp>​|Returns the current hp of the target|
 +|<​target.threat>​|Returns the threat level of the target|
 +|<​target.l.w>​|Returns the world name the target is in|
 +|<​target.l.x>​|Returns the X coordinate of the target|
 +|<​target.l.y>​|Returns the Y coordinate of the target|
 +|<​target.l.z>​|Returns the Z coordinate of the target|
 +
 +^**Variable**^**Function**^ ​
 +|**Trigger Variables**|
 +|<​trigger.uuid>​|Returns the UUID of the person triggering the skill|
 +|<​trigger.name>​|Returns the name of the person triggering the skill|
 +|<​trigger.hp>​|Returns the current hp of the person triggering the skill|
 +|<​trigger.threat>​|Returns the threat level of the person triggering the skill|
 +|<​trigger.l.w>​|Returns the world name of the person triggering the skill|
 +|<​trigger.l.x>​|Returns the X coordinate of the person triggering the skill|
 +|<​trigger.l.y>​|Returns the Y coordinate of the person triggering the skill|
 +|<​trigger.l.z>​|Returns the Z coordinate of the person triggering the skill|
 +
 +
 +^**Variable**^**Function**^ ​
 +|**Misc Variables**|
 +|<​drops.xp>​|Returns the xp dropped via Heroes or SkillAPI mods|
 +|<​drops.money>​|Returns the money dropped through the vault plug-in|
 +
 +^**Variable**^**Function**^ ​
 +|**Character Variables**|  ​
 +|<&​co>​|Returns a colon (:)|
 +|<&​sq>​|Returns an apostrophe (')|
 +|<&​da>​|Returns a dash (-)|
 +|<&​bs>​|Returns a backslash (\)|
 +|<&​fs>​|Returns a forward slash (/)|
 +|<&​sp>​|Returns a space|
 +|<&​cm>​|Returns a comma (,)|
 +|<&​sc>​|Returns a semicolon (;)|
 +|<&​eq>​|Returns an equals symbol [=]|
 +|<&​ss>​|Returns a section symbol (§)|
 +|<&​dq>​|Returns double quotes (")|
 +|<&​rb>​|Returns a right bracket (])|
 +|<&​lb>​|Returns a left bracket ([)|
 +|<&​rc>​|Returns a right curly bracket (})|
 +|<&​lc>​|Returns a left curly bracket ({)|
 +|<&​nl>​|Forces a new line|
 +
 +==Color Codes==
 +
 +^**Code**^**Color**^ ​ ^**Code**^**Color**^
 +|&​0|Black| ​ |&​B|Aqua|
 +|&​1|Dark Blue|  |&​C|Red|
 +|&​2|Dark Green| ​ |&​D|Light Purple|
 +|&​3|Dark Aqua|  |&​E|Yellow|
 +|&​4|Dark Red|  |&​F|White|
 +|&​5|Dark Purple| ​ |&​K|Magic|
 +|&​6|Gold| ​ |&​L|Bold|
 +|&​7|Gray| ​ |&​M|Strike through|
 +|&​8|Dark Gray|  |&​N|Underline|
 +|&​9|Blue| ​ |&​O|Italic|
 +|&​A|Green| ​ |&​R|Reset|