zeny: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== [[:Category:Self Condition|Self Condition]] from [[:Category:config.txt|config.txt]]: ==
; zeny <[[References#Range_Operators|range]]>
; zeny <[[References#Range_Operators|range]]>
: Only use the block if the character's quantity of zeny matches the specified range.
: Only use the block if the character's quantity of zeny matches the specified range.


== Example ==
: Example:
Use [http://irowiki.org/wiki/Throw_Coins Throw Coins] level 10 at Porings if quantity of zeny is greater than 5000:
Use [http://irowiki.org/wiki/Throw_Coins Throw Coins] level 10 at Porings if quantity of zeny is greater than 5000:
  [[attackSkillSlot]] [[References#Skill_Names|NJ_ZENYNAGE]] {
  [[attackSkillSlot]] [[References#Skill_Names|NJ_ZENYNAGE]] {
Line 9: Line 10:
  [[monsters]] [[References#Monster_Names|Poring]]
  [[monsters]] [[References#Monster_Names|Poring]]
  }
  }
== [[EventMacro#State|State Conditions]] of the automacro eventMacros: ==
{{Template:Zeny}}


[[Category:Self Condition]]
[[Category:Self Condition]]
[[Category:EventMacro_Automacros]]
[[Category:EventMacro_Conditions_State]]

Latest revision as of 01:42, 27 April 2021

Self Condition from config.txt:

zeny <range>
Only use the block if the character's quantity of zeny matches the specified range.
Example:

Use Throw Coins level 10 at Porings if quantity of zeny is greater than 5000:

attackSkillSlot NJ_ZENYNAGE {
	lvl 10
	zeny > 5000
	monsters Poring
}

State Conditions of the automacro eventMacros:

Zeny
  • Description: Checks the player current zeny.
  • Does not support percentages.
Syntax:
Zeny <Math condition operators>
Example:
Zeny > 500000
Set variables:
$.ZenyLast => Saves the last zeny amount that made Zeny become true