ZenyChanged: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: ZenyChanged)
 
m (4epT moved page zenyChanged to ZenyChanged over a redirect without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Is checked everytime the amount of zeny changes, is true if the math condition is true.
{{Template:ZenyChanged}}
:* Supports percentages. (based on total zeny before change and change amount)


: Syntax:
[[Category:EventMacro_Automacros]]
ZennyChanged <[[EventMacro#Math condition operators|Math condition operators]]>
 
: Example:
ZennyChanged > 10%
ZennyChanged >= 1000
 
: Set variables:
$.ZennyChangedLastChange => Saves the amount of zenny changed that made ZennyChanged activate
$.ZennyChangedLastZennyAfter => Saves the amount of zenny left after the change that made ZennyChanged activate
[[Category:EventMacro_Conditions_Event]]
[[Category:EventMacro_Conditions_Event]]

Latest revision as of 21:58, 12 September 2021

ZenyChanged
  • Description: Is checked everytime the amount of zeny changes, is true if the math condition is true.
  • Supports percentages. (based on total zeny before change and change amount)
Syntax:
ZennyChanged <Math condition operators>
Example:
ZennyChanged > 10%
ZennyChanged >= 1000
Set variables:
$.ZennyChangedLastChange => Saves the amount of zenny changed that made ZennyChanged activate
$.ZennyChangedLastZennyAfter => Saves the amount of zenny left after the change that made ZennyChanged activate