# HG changeset patch # User rowaasr13 # Date 1485478134 -10800 # Node ID 088390bd4ab330b0a7fe122f1f7fc12dbaa9f07f # Parent d5c910dfcc9691c9f160fc35450e66806d302f53 typo in luadoc diff -r d5c910dfcc96 -r 088390bd4ab3 OOCDo.lua --- a/OOCDo.lua Tue Jan 10 19:41:04 2017 +0300 +++ b/OOCDo.lua Fri Jan 27 03:48:54 2017 +0300 @@ -54,7 +54,7 @@ until true end end ---- Tries to set button to castwe first available spell from list. +--- Tries to set button to cast first available spell from list. -- Sets button's .type to "spell" and .spell to first spell that player knowns (GetSpellInfo(name) returns something). -- Returns if any spell was found or not, so you can use this in conditional to do something else if there were no suitable spells. -- If none of spells was found, button will still lose previously assigned command.