Difference between revisions of "zeny"

From OpenKore Wiki
Jump to navigation Jump to search
(One intermediate revision by one other user not shown)
Line 1: Line 1:
; zeny <[[range]]>
+
== [[:Category:Self Condition|Self Condition]] from [[config.txt]]: ==
 +
; 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]]

Revision as of 10:23, 4 July 2019

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