Skip to content
JasperLorelai edited this page Oct 1, 2022 · 4 revisions

Version 7.0:

Dependencies:

Updated to Java 17.

Changes:

  • Added empty parameter to the int2hex placeholder. Defines zeros to prepend it. It fits up to the length of 4 by default: %magicspells_int2hex_[int],(empty)%
  • Added %magicspells_selectedspell_displayed% placeholder

Placeholders:

Arguments in [] brackets are required, while arguments in () brackets are optional - the placeholders will work without them.

Placeholder Description
%magicspells_variable_[varname],(precision)% Returns MS variable value of the target, string or floating point.
%magicspells_variable_max_[varname],(precision)% Returns maximal value of MS variable value of the target, floating point.
%magicspells_variable_min_[varname],(precision)% Returns minimal value of MS variable value of the target, floating point.
%magicspells_cooldown_[spellname],(precision)% Returns MS initial spell cooldown.
%magicspells_cooldown_now_[spellname],(precision)% Returns current MS spell cooldown of the target.
%magicspells_charges_[spellname]% Returns MS initial spell charges.
%magicspells_charges_consumed_[spellname]% Returns consumed charges of the target.
%magicspells_mana%
%magicspells_mana_max%
%magicspells_buff_[spellname],(precision)% Returns initial buff spell duration.
%magicspells_buff_now_[spellname],(precision)% Returns current buff spell duration of the target.
%magicspells_selectedspell% Returns the internal name of the selected spell on the target's item.
%magicspells_selectedspell_displayed% Returns the external name of the selected spell (from name property) on the target's item.
%magicspells_int2hex_[int],(empty)% Converts integers to hex. Useful for translating MS number variables to hex, combined with the unicode placeholder. The optional empty parameter should be a number of zeros to prepend. Optional because 4 is the default value.
%magicspells_unicode_[string]% Parses anything matching the unicode format to its character. (Format: \uXXXX)

Versions:

Clone this wiki locally