From 4e4271a29f6888e41bb2d1cbd219461542467dc0 Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Mon, 7 Sep 2015 14:30:18 +0200 Subject: [PATCH] Seal of tempered fate are not limited Signed-off-by: Alar of Daggerspine --- CHANGELOG.txt | 3 +++ MissionCompletion.lua | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 54d4d46..b6d521f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,8 @@ *GarrisonCommander helps you when choosing the right follower for the right mission* +* *2.7.5* +Fix: Seal of Tempered Fate were marked as a limited resource. Turned out they are not + * *2.7.4* Fix: Removed chat spam diff --git a/MissionCompletion.lua b/MissionCompletion.lua index 7dabb4b..319cad8 100644 --- a/MissionCompletion.lua +++ b/MissionCompletion.lua @@ -8,7 +8,7 @@ local GSF=GSF local GMFMissions=GarrisonMissionFrameMissions local GSFMissions=GarrisonMissionFrameMissions local GARRISON_CURRENCY=GARRISON_CURRENCY -local GARRISON_SHIP_OIL_CURRENCY=_G.GARRISON_SHIP_OIL_CURRENCY or 0 +local GARRISON_SHIP_OIL_CURRENCY=_G.GARRISON_SHIP_OIL_CURRENCY local SEAL_CURRENCY=994 local LE_FOLLOWER_TYPE_GARRISON_6_0=_G.LE_FOLLOWER_TYPE_GARRISON_6_0 local LE_FOLLOWER_TYPE_SHIPYARD_6_2=_G.LE_FOLLOWER_TYPE_SHIPYARD_6_2 @@ -43,8 +43,7 @@ end --@end-debug@ local cappedCurrencies={ GARRISON_CURRENCY, - GARRISON_SHIP_OIL_CURRENCY, - SEAL_CURRENCY + GARRISON_SHIP_OIL_CURRENCY } local missions={} @@ -129,7 +128,6 @@ function module:MissionComplete(this,button,skiprescheck) for k,v in pairs(missions[i].rewards) do if v.itemID then GetItemInfo(v.itemID) end -- tickling server if v.currencyID and tContains(cappedCurrencies,v.currencyID) then - local currentQT=select(2,GetCurrencyInfo(v.currencyID)) wasted[v.currencyID]=(wasted[v.currencyID] or 0) + v.quantity end end -- 1.7.9.5