From 16672bce2dbae4505d607cbbe1856fc7ea6596c1 Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sun, 4 Jul 2010 10:25:28 +0000 Subject: [PATCH] added Speed function git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@259 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Condition.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Condition.lua b/Condition.lua index da44aa7..050c089 100644 --- a/Condition.lua +++ b/Condition.lua @@ -653,6 +653,9 @@ Ovale.conditions= return maxCD end end, + Speed = function(condition) + return compare(GetUnitSpeed("player")*100/7, condition[1], condition[2]) + end, -- Test if the player is in a given stance -- 1 : the stance Stance = function(condition) -- 1.7.9.5