lua:scripting:examples:trackshopgold
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lua:scripting:examples:trackshopgold [2016/11/14 02:19] – created vodur | lua:scripting:examples:trackshopgold [2016/11/14 02:34] (current) – vodur | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <code> | + | luai to the mob you want to track then execute the script. |
| - | geshi:lua | + | |
| + | <code lua> | ||
| do | do | ||
| local start = os.time() | local start = os.time() | ||
| Line 17: | Line 18: | ||
| do_it() | do_it() | ||
| end | end | ||
| + | </ | ||
| + | |||
| + | To terminate, do cancel() from the mob's luai. | ||
| + | |||
| + | Before changeset 17f894157c3d | ||
| + | |||
| + | < | ||
| + | Mad Mulligan says 'Gold: 46, Silver: 5814, Duration: 120' | ||
| + | Appr 50 gold per min, 500 gold in 10 mins. | ||
| + | </ | ||
| + | |||
| + | After changeset 17f894157c3d | ||
| + | |||
| + | < | ||
| + | Mad Mulligan says 'Gold: 460, Silver: 42965, Duration: 119' | ||
| + | Appr 450 gold per min, 4500 gold in 10 mins. | ||
| </ | </ | ||
lua/scripting/examples/trackshopgold.1479089995.txt.gz · Last modified: 2016/11/14 02:19 by vodur