Difference between revisions of "zeny"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; zeny <range> : Activates the block when the character's quantity of zeny is is within the specified range. '''Note.''' Numbers must be without c…')
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
== [[:Category:Self Condition|Self Condition]] from [[config.txt]]: ==
 
; zeny <[[References#Range_Operators|range]]>
 
; zeny <[[References#Range_Operators|range]]>
: Activates the block when the character's quantity of zeny is is within the specified range.
+
: Only use the block if the character's quantity of zeny matches the specified range.
  
'''Note.''' Numbers must be without comas (,).
+
: Example:
 
+
Use [http://irowiki.org/wiki/Throw_Coins Throw Coins] level 10 at Porings if quantity of zeny is greater than 5000:
== Example ==
+
  [[attackSkillSlot]] [[References#Skill_Names|NJ_ZENYNAGE]] {
  attackSkillSlot Throw Zeny {
+
  [[lvl]] 10
  lvl 10
+
  '''zeny''' > 5000
  zeny > 5000
+
  [[monsters]] [[References#Monster_Names|Poring]]
  monsters Poring
 
 
  }
 
  }
  
* Use Throw Zeny level 10 at Porings if quantity of zeny is greater than 5000.
+
== [[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