From d0c4588fa5f61f0bb961fc8238cbe562f368412b Mon Sep 17 00:00:00 2001 From: shefki Date: Sun, 2 Nov 2008 07:30:27 +0000 Subject: [PATCH] Fix updates of reputation text - UPDATE_FACTION provides no arguments and only fires for the player. --- Categories/Reputation.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Categories/Reputation.lua b/Categories/Reputation.lua index 24df11a..e4fc6b1 100644 --- a/Categories/Reputation.lua +++ b/Categories/Reputation.lua @@ -27,7 +27,7 @@ DogTag:AddTag("Unit", "Reputation", { 'faction', 'string;undef', "@undef" }, ret = "number;nil", - events = "UNIT_FACTION#player;UPDATE_FACTION#player", + events = "UNIT_FACTION#player;UPDATE_FACTION", doc = L["Return the current reputation of the watched faction or specified"], example = ('[Reputation] => "1234"; [Reputation(%s)] => "2345"'):format(L["Exodar"]), category = L["Reputation"] @@ -51,7 +51,7 @@ DogTag:AddTag("Unit", "MaxReputation", { 'faction', 'string;undef', "@undef" }, ret = "number;nil", - events = "UNIT_FACTION#player;UPDATE_FACTION#player", + events = "UNIT_FACTION#player;UPDATE_FACTION", doc = L["Return the maximum reputation of the watched faction or specified"], example = ('[MaxReputation] => "12000"; [MaxReputation(%s)] => "21000"'):format(L["Exodar"]), category = L["Reputation"] @@ -92,7 +92,7 @@ DogTag:AddTag("Unit", "ReputationName", { return GetWatchedFactionInfo() end, ret = "string;nil", - events = "UNIT_FACTION#player;UPDATE_FACTION#player", + events = "UNIT_FACTION#player;UPDATE_FACTION", doc = L["Return the name of the currently watched faction"], example = ('[ReputationName] => %q'):format(L["Exodar"]), category = L["Reputation"] @@ -116,7 +116,7 @@ DogTag:AddTag("Unit", "ReputationReaction", { 'faction', 'string;undef', "@undef", }, ret = "string;nil", - events = "UNIT_FACTION#player;UPDATE_FACTION#player", + events = "UNIT_FACTION#player;UPDATE_FACTION", doc = L["Return your current reputation rank with the watched faction or argument"], example = ('[ReputationReaction] => %q; [ReputationReaction(%s)] => %q'):format(_G.FACTION_STANDING_LABEL5, "Exodar", _G.FACTION_STANDING_LABEL6), category = L["Reputation"] @@ -153,10 +153,10 @@ DogTag:AddTag("Unit", "ReputationColor", { 'faction', 'string;undef', "@undef", }, ret = "string;nil", - events = "UNIT_FACTION#player;UPDATE_FACTION#player", + events = "UNIT_FACTION#player;UPDATE_FACTION", doc = L["Return the color or wrap value with the color associated with either the currently watched faction or the given argument"], example = ('["Hello":ReputationColor] => "|cff7f0000Hello|r"; ["Hello":ReputationColor(%s)] => "|cff007f00Hello|r"; [ReputationColor(faction=%s) "Hello")] => "|cff007f00Hello"'):format(L["Exodar"], L["Exodar"]), category = L["Reputation"] }) -end \ No newline at end of file +end