From e832f54de6b2f866b64214e681fca5042e7d3237 Mon Sep 17 00:00:00 2001 From: Lionas Date: Tue, 30 Aug 2016 19:41:57 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB?= =?UTF-8?q?=E3=83=88=E3=81=A7=E3=82=A2=E3=82=A4=E3=82=B3=E3=83=B3=E3=82=92?= =?UTF-8?q?=E9=9D=9E=E8=A1=A8=E7=A4=BA=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LioFADR_FoodsAndDrinksUtil.lua | 48 ------------------- .../LionasFoodAndDrinkReminder.txt | 4 +- .../LionasFoodAndDrinkReminder.xml | 2 +- .../LionasFoodAndDrinkReminderMenu.lua | 4 +- 4 files changed, 5 insertions(+), 53 deletions(-) diff --git a/LionasFoodAndDrinkReminder/LioFADR_FoodsAndDrinksUtil.lua b/LionasFoodAndDrinkReminder/LioFADR_FoodsAndDrinksUtil.lua index 5809251..16ce657 100644 --- a/LionasFoodAndDrinkReminder/LioFADR_FoodsAndDrinksUtil.lua +++ b/LionasFoodAndDrinkReminder/LioFADR_FoodsAndDrinksUtil.lua @@ -297,51 +297,3 @@ function LioFADRFoods.isContain(abilityId) end - ---local function getFoodTypeBonus() - --- local FODD_BUFF_NONE = 0 --- local FODD_BUFF_MAX_HEALTH = 1 --- local FODD_BUFF_MAX_MAGICKA = 2 --- local FODD_BUFF_MAX_STAMINA = 4 --- local FODD_BUFF_REGEN_HEALTH = 8 --- local FODD_BUFF_REGEN_MAGICKA = 16 --- local FODD_BUFF_REGEN_STAMINA = 32 --- local FODD_BUFF_MAX_HEALTH_MAGICKA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_MAGICKA --- local FODD_BUFF_MAX_HEALTH_STAMINA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_STAMINA --- local FODD_BUFF_MAX_MAGICKA_STAMINA = FODD_BUFF_MAX_MAGICKA + FODD_BUFF_MAX_STAMINA --- local FODD_BUFF_REGEN_HEALTH_MAGICKA = FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_MAGICKA --- local FODD_BUFF_REGEN_HEALTH_STAMINA = FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_STAMINA --- local FODD_BUFF_REGEN_MAGICKA_STAMINA = FODD_BUFF_REGEN_MAGICKA + FODD_BUFF_REGEN_STAMINA --- local FODD_BUFF_MAX_ALL = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_MAGICKA + FODD_BUFF_MAX_STAMINA --- local FODD_BUFF_REGEN_ALL = FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_MAGICKA + FODD_BUFF_REGEN_STAMINA --- local FODD_BUFF_MAX_HEALTH_REGEN_HEALTH = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_HEALTH --- local FODD_BUFF_MAX_HEALTH_REGEN_MAGICKA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_MAGICKA --- local FODD_BUFF_MAX_HEALTH_REGEN_STAMINA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_STAMINA --- local FODD_BUFF_MAX_HEALTH_REGEN_ALL = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_MAGICKA + FODD_BUFF_REGEN_STAMINA - --- local isFoodBuff = { --- [61259] = FODD_BUFF_MAX_HEALTH, --- [61260] = FODD_BUFF_MAX_MAGICKA, --- [61261] = FODD_BUFF_MAX_STAMINA, --- [61322] = FODD_BUFF_REGEN_HEALTH, --- [61325] = FODD_BUFF_REGEN_MAGICKA, --- [61328] = FODD_BUFF_REGEN_STAMINA, --- [61257] = FODD_BUFF_MAX_HEALTH_MAGICKA, --- [61255] = FODD_BUFF_MAX_HEALTH_STAMINA, --- [61294] = FODD_BUFF_MAX_MAGICKA_STAMINA, --- [72816] = FODD_BUFF_REGEN_HEALTH_MAGICKA, --- [61340] = FODD_BUFF_REGEN_HEALTH_STAMINA, --- [61345] = FODD_BUFF_REGEN_MAGICKA_STAMINA, --- [61218] = FODD_BUFF_MAX_ALL, --- [61350] = FODD_BUFF_REGEN_ALL, --- [72822] = FODD_BUFF_MAX_HEALTH_REGEN_HEALTH, --- [72816] = FODD_BUFF_MAX_HEALTH_REGEN_MAGICKA, --- [72819] = FODD_BUFF_MAX_HEALTH_REGEN_STAMINA, --- [72824] = FODD_BUFF_MAX_HEALTH_REGEN_ALL, --- } - --- return isFoodBuff - ---end - diff --git a/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.txt b/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.txt index 18e8cf6..648ff4b 100755 --- a/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.txt +++ b/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.txt @@ -1,7 +1,7 @@ -## Title: Lionas's Food and Drink Reminder v0.6.1 +## Title: Lionas's Food and Drink Reminder v0.7.1 ## APIVersion: 100016 -## Version: 0.7.0 +## Version: 0.7.1 ## Author: Lionas ## Description: Notify for food and drink when you entered in dungeon and expired. ## OptionalDependsOn: LibStub LibAddonMenu-2.0 diff --git a/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.xml b/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.xml index 0e31f24..fcbf6ba 100644 --- a/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.xml +++ b/LionasFoodAndDrinkReminder/LionasFoodAndDrinkReminder.xml @@ -1,6 +1,6 @@ -