Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
changelog [2019/02/24 21:40]
xikage [Bugs/Other]
changelog [2019/03/26 07:55] (current)
xikage
Line 54: Line 54:
   Skills:   Skills:
   - setGameMode{mode=ADVENTURE} @trigger ~onInteract   - setGameMode{mode=ADVENTURE} @trigger ~onInteract
 +
 +====NEW: SetVariable====
 +Sets a [[:​skills:​variables|variable]] on the specified scope.
 +  Skills:
 +  - setvariable{var=global.testVar;​value="​hello";​type=STRING} ~onInteract
 +  - setvariable{var=caster.testVar;​value="​hello";​type=STRING} @self ~onInteract
 +
 +Scope can be set by prefixing **scope.name** to the variable, or by using the **scope=[scope]** option.
  
 ====NEW: Shield==== ====NEW: Shield====
Line 69: Line 77:
   * Overhealing now applies absorption hearts instead of increasing maximum health.   * Overhealing now applies absorption hearts instead of increasing maximum health.
   * Added MaxOverhealing option for both skills, working exactly like the similar shield mechanics.   * Added MaxOverhealing option for both skills, working exactly like the similar shield mechanics.
 +
 +=====Conditions=====
 +====NEW: VariableEquals====
 +Returns true if the variable matches the value. The value can contain placeholders/​other variables/​etc.
 +  - variableEquals{variable=[scope].[variablename];​value="​[a value]"​}
 +  - variableEquals{variable=target.somevariable;​value="​hello"​} true
 +
 +  BearGrowl:
 +    TargetConditions:​
 +    - variableEquals{var=target.heardbear;​value="​yes"​} cancel
 +    Skills:
 +    - message{m="​You hear a growling noise"​}
 +    - setvariable{var=target.heardbear;​value="​yes";​duration=6000}
  
 =====Triggers===== =====Triggers=====
Line 117: Line 138:
   * Land spawns will only ever spawn on land   * Land spawns will only ever spawn on land
   * Sea will only ever spawn in water   * Sea will only ever spawn in water
 +=====Compatibility=====
 +====PlaceholderAPI====
 +Placeholders from PlaceholderAPI can now be used anywhere MythicMobs placeholders can be used, including in mechanics, conditions, etc.
 +  - message{m="<​trigger.name>​ has God-Mode? %essentials_godmode%"​} @trigger ~onDamaged
  
 =====API===== =====API=====
Line 136: Line 161:
   * Fixed imported bukkit items not loading   * Fixed imported bukkit items not loading
  
-======4.5.[Latest Stable]======+======4.5.[Latest Stable]====== 
 +  * Fixed bugs with item importing 
 +  * Fixed several bugs with the API 
 + 
 +======4.5.5======
   * Backported more API changes to 4.5.X   * Backported more API changes to 4.5.X
   * Backported various bug fixes   * Backported various bug fixes
changelog.1551062423.txt.gz · Last modified: 2019/02/24 21:40 by xikage
GNU Free Documentation License 1.3
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0