跳到主要内容

Mythicmob NPC Variable

Reads a MythicMobs variable from the active NPC

字段

此条目没有特定字段:请添加并在需要的地方关联它。

How to use it​

Reads a MythicMobs variable stored on the live mob (set in a MythicMobs skill, for example with setvariable). In the variable data, key is the variable name and target.npc is the NPC instance. The variable can be read as text, integer, float or double: when the variable is missing or cannot be converted, defaultStringValue or defaultNumericValue is returned. format is a Java decimal pattern (for example 0.00) applied when a number is read as text.