Quantcast GetActiveFoodTypeBonus() - ESOUI
Thread Tools Display Modes
05/30/16, 06:23 PM   #1
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 994
GetActiveFoodTypeBonus()

I didn't find it anywhere so :


Lua Code:
  1. local function GetActiveFoodTypeBonus()
  2.    
  3.     local FODD_BUFF_NONE = 0
  4.     local FODD_BUFF_MAX_HEALTH = 1
  5.     local FODD_BUFF_MAX_MAGICKA = 2
  6.     local FODD_BUFF_MAX_STAMINA = 4
  7.     local FODD_BUFF_REGEN_HEALTH = 8
  8.     local FODD_BUFF_REGEN_MAGICKA = 16
  9.     local FODD_BUFF_REGEN_STAMINA = 32
  10.     local FOOD_BUFF_SPECIAL_VAMPIRE = 64
  11.     local FODD_BUFF_MAX_HEALTH_MAGICKA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_MAGICKA
  12.     local FODD_BUFF_MAX_HEALTH_STAMINA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_STAMINA
  13.     local FODD_BUFF_MAX_MAGICKA_STAMINA = FODD_BUFF_MAX_MAGICKA + FODD_BUFF_MAX_STAMINA
  14.     local FODD_BUFF_REGEN_HEALTH_MAGICKA = FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_MAGICKA
  15.     local FODD_BUFF_REGEN_HEALTH_STAMINA = FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_STAMINA
  16.     local FODD_BUFF_REGEN_MAGICKA_STAMINA = FODD_BUFF_REGEN_MAGICKA + FODD_BUFF_REGEN_STAMINA
  17.     local FODD_BUFF_MAX_ALL = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_MAGICKA + FODD_BUFF_MAX_STAMINA
  18.     local FODD_BUFF_REGEN_ALL = FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_MAGICKA + FODD_BUFF_REGEN_STAMINA
  19.     local FODD_BUFF_MAX_HEALTH_REGEN_HEALTH = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_HEALTH
  20.     local FODD_BUFF_MAX_HEALTH_REGEN_MAGICKA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_MAGICKA
  21.     local FODD_BUFF_MAX_HEALTH_REGEN_STAMINA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_STAMINA
  22.     local FODD_BUFF_MAX_HEALTH_REGEN_ALL = FODD_BUFF_MAX_HEALTH + FODD_BUFF_REGEN_HEALTH + FODD_BUFF_REGEN_MAGICKA + FODD_BUFF_REGEN_STAMINA
  23.     local FODD_BUFF_MAX_MAGICKA_REGEN_STAMINA = FODD_BUFF_MAX_MAGICKA + FODD_BUFF_REGEN_STAMINA
  24.     local FODD_BUFF_MAX_MAGICKA_REGEN_HEALTH = FODD_BUFF_MAX_MAGICKA + FODD_BUFF_REGEN_HEALTH
  25.     local FODD_BUFF_MAX_MAGICKA_REGEN_MAGICKA = FODD_BUFF_MAX_MAGICKA + FODD_BUFF_REGEN_MAGICKA
  26.     local FODD_BUFF_MAX_HEALTH_MAGICKA_REGEN_MAGICKA = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_MAGICKA + FODD_BUFF_REGEN_MAGICKA
  27.     local FODD_BUFF_MAX_HEALTH_MAGICKA_SPECIAL_VAMPIRE = FODD_BUFF_MAX_HEALTH + FODD_BUFF_MAX_MAGICKA + FOOD_BUFF_SPECIAL_VAMPIRE
  28.  
  29.     local isFoodBudd = {
  30.         [61259] = FODD_BUFF_MAX_HEALTH,
  31.         [61260] = FODD_BUFF_MAX_MAGICKA,
  32.         [61261] = FODD_BUFF_MAX_STAMINA,
  33.         [61322] = FODD_BUFF_REGEN_HEALTH,
  34.         [61325] = FODD_BUFF_REGEN_MAGICKA,
  35.         [61328] = FODD_BUFF_REGEN_STAMINA,
  36.         [61257] = FODD_BUFF_MAX_HEALTH_MAGICKA,
  37.         [61255] = FODD_BUFF_MAX_HEALTH_STAMINA,
  38.         [61294] = FODD_BUFF_MAX_MAGICKA_STAMINA,
  39.         [72816] = FODD_BUFF_REGEN_HEALTH_MAGICKA,
  40.         [61340] = FODD_BUFF_REGEN_HEALTH_STAMINA,
  41.         [61345] = FODD_BUFF_REGEN_MAGICKA_STAMINA,
  42.         [61218] = FODD_BUFF_MAX_ALL,
  43.         [61350] = FODD_BUFF_REGEN_ALL,
  44.         [72822] = FODD_BUFF_MAX_HEALTH_REGEN_HEALTH,
  45.         [72816] = FODD_BUFF_MAX_HEALTH_REGEN_MAGICKA,
  46.         [72819] = FODD_BUFF_MAX_HEALTH_REGEN_STAMINA,
  47.         [72824] = FODD_BUFF_MAX_HEALTH_REGEN_ALL,
  48.         [68411] = FODD_BUFF_MAX_ALL, -- Crown store
  49.         [84681] = FODD_BUFF_MAX_MAGICKA_STAMINA, -- 2h Witches event
  50.         [84709] = FODD_BUFF_MAX_MAGICKA_REGEN_STAMINA, -- 2h Witches event
  51.         [84725] = FODD_BUFF_MAX_MAGICKA_REGEN_HEALTH, -- 2h Witches event
  52.         [84678] = FODD_BUFF_MAX_MAGICKA, -- 2h Witches event
  53.         [84704] = FODD_BUFF_REGEN_ALL, -- 2h Witches event
  54.         [84720] = FODD_BUFF_MAX_MAGICKA_REGEN_MAGICKA, -- 2h Witches event
  55.         [84700] = FODD_BUFF_REGEN_HEALTH_MAGICKA, -- 2h Witches event
  56.         [84731] = FODD_BUFF_MAX_HEALTH_MAGICKA_REGEN_MAGICKA, -- 2h Witches event
  57.         [84735] = FODD_BUFF_MAX_HEALTH_MAGICKA_SPECIAL_VAMPIRE, -- 2h Witches event
  58.     }
  59.    
  60.     local numBuffs = GetNumBuffs("player")
  61.     local hasActiveEffects = numBuffs > 0
  62.     if (hasActiveEffects) then
  63.         for i = 1, numBuffs do
  64.             local _, _, _, _, _, _, _, _, _, _, abilityId = GetUnitBuffInfo("player", i)
  65.             if isFoodBudd[abilityId] then
  66.                 return isFoodBudd[abilityId]
  67.             end
  68.         end
  69.     end
  70.    
  71.     return FODD_BUFF_NONE
  72.    
  73. end
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil

Last edited by Ayantir : 11/08/16 at 03:54 PM.
  Reply With Quote
11/08/16, 03:55 PM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 994
Little update, I added crown store tri stats food and new witches food food. they don't share "standard" abilities so it was needed.
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
  Reply With Quote
11/28/17, 09:44 AM   #3
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 158
here is a list of the current food:
lua Code:
  1. [17407] = true, -- Increase Max Health
  2. [17577] = true, -- Increase Max Magicka & Stamina
  3. [17581] = true, -- Increase All Primary Stats
  4. [17608] = true, -- Magicka & Stamina Recovery
  5. [17614] = true, -- All Primary Stat Recovery
  6. [61218] = true, -- Increase All Primary Stats
  7. [61255] = true, -- Increase Max Health & Stamina
  8. [61257] = true, -- Increase Max Health & Magicka
  9. [61259] = true, -- Increase Max Health
  10. [61260] = true, -- Increase Max Magicka
  11. [61261] = true, -- Increase Max Stamina
  12. [61294] = true, -- Increase Max Magicka & Stamina
  13. [61322] = true, -- Health Recovery
  14. [61325] = true, -- Magicka Recovery
  15. [61328] = true, -- Stamina Recovery
  16. [61335] = true, -- Health & Magicka Recovery
  17. [61340] = true, -- Health & Stamina Recovery
  18. [61345] = true, -- Magicka & Stamina Recovery
  19. [61350] = true, -- All Primary Stat Recovery
  20. [66125] = true, -- Increase Max Health
  21. [66128] = true, -- Increase Max Magicka
  22. [66130] = true, -- Increase Max Stamina
  23. [66132] = true, -- Health Recovery
  24. [66137] = true, -- Magicka Recovery
  25. [66141] = true, -- Stamina Recovery
  26. [66551] = true, -- Increase Max Health
  27. [66568] = true, -- Increase Max Magicka
  28. [66576] = true, -- Increase Max Stamina
  29. [66586] = true, -- Health Recovery
  30. [66590] = true, -- Magicka Recovery
  31. [66594] = true, -- Stamina Recovery
  32. [68411] = true, -- Increase All Primary Stats
  33. [68416] = true, -- All Primary Stat Recovery
  34. [72816] = true, -- Red Frothgar
  35. [72819] = true, -- Tripe Trifle Pocket
  36. [72822] = true, -- Blood Price Pie
  37. [72824] = true, -- Smoked Bear Haunch
  38. [72956] = true, -- Max Health and Stamina
  39. [72959] = true, -- Max Health and Magicka
  40. [72961] = true, -- Max Stamina and Magicka
  41. [72965] = true, -- Health and Stamina Recovery
  42. [72968] = true, -- Health and Magicka Recovery
  43. [72971] = true, -- Magicka and Stamina Recovery
  44. [84678] = true, -- Increase Max Magicka
  45. [84681] = true, -- Pumpkin Snack Skewer
  46. [84700] = true, -- Eyeballs
  47. [84704] = true, -- Witchmother's Party Punch
  48. [84709] = true, -- Crunchy Spider Skewer
  49. [84720] = true, -- Eye Scream
  50. [84725] = true, -- The Brains!
  51. [84731] = true, -- Witchmother's Potent Brew
  52. [84732] = true, -- Increase Health Regen
  53. [84733] = true, -- Increase Health Regen
  54. [84735] = true, -- Double Bloody Mara
  55. [84736] = true, -- Increase Health
  56. [85484] = true, -- Increase All Primary Stats
  57. [85497] = true, -- All Primary Stat Recovery
  58. [86559] = true, -- Fish Eye Rye
  59. [86560] = true, -- Increase Stamina Recovery
  60. [86673] = true, -- Lava Foot Soup & Saltrice
  61. [86674] = true, -- Increase Stamina Recovery
  62. [86677] = true, -- Warning Fire
  63. [86678] = true, -- Increase Health Recovery
  64. [86746] = true, -- Betnikh Spiked Ale
  65. [86747] = true, -- Increase Health Recovery
  66. [86749] = true, -- Mud Ball
  67. [86787] = true, -- Rajhin's Sugar Claws
  68. [86789] = true, -- Alcaire Festival Sword-Pie
  69. [86791] = true, -- Ice Bear Glow-Wine
  70. [89955] = true, -- Candied Jester's Coins
  71. [89957] = true, -- Dubious Camoran Throne
  72. [89971] = true, -- Jewels of Misrule
  73. [92433] = true, -- Health & Magicka Recovery
  74. [92435] = true, -- Increase Health & Magicka
  75. [92437] = true, -- Increase Health
  76. [92474] = true, -- Increase Health & Stamina
  77. [92476] = true, -- Health & Stamina Recovery
  78. [92477] = true, -- Increase Health
  79. [100488] = true, -- Spring-Loaded Infusion
  80. [100498] = true, -- Clockwork Citrus Filet
  81. [100502] = true, -- Deregulated Mushroom Stew
__________________
@Scootworks | EU Server

Last edited by Scootworks : 11/28/17 at 12:21 PM.
  Reply With Quote
11/30/17, 04:14 PM   #4
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 1,324
Thanks scootworks!

Here is a list with Ayantir's unique ids (and some added by me for the new mixtures of regen and max stats foods) and the special ability IDs collected by Scootworks and others.

My list is split into drink (regen) and food (max stats, and some combined with regen):

Lua Code:
  1. --Code (c) by Ayantir @http://www.esoui.com/forums/showthread.php?t=6313
  2.     --Change language ingame by using /script SetCVar("Language.2", "en")
  3.     local FOOD_BUFF_NONE = 0
  4.     local FOOD_BUFF_MAX_HEALTH = 1
  5.     local FOOD_BUFF_MAX_MAGICKA = 2
  6.     local FOOD_BUFF_MAX_STAMINA = 4
  7.     local FOOD_BUFF_REGEN_HEALTH = 8
  8.     local FOOD_BUFF_REGEN_MAGICKA = 16
  9.     local FOOD_BUFF_REGEN_STAMINA = 32
  10.     local FOOD_BUFF_SPECIAL_VAMPIRE = 64
  11.     local FOOD_BUFF_FIND_FISHES = 128
  12.     local FOOD_BUFF_MAX_HEALTH_MAGICKA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_MAX_MAGICKA
  13.     local FOOD_BUFF_MAX_HEALTH_STAMINA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_MAX_STAMINA
  14.     local FOOD_BUFF_MAX_MAGICKA_STAMINA = FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_MAX_STAMINA
  15.     local FOOD_BUFF_REGEN_HEALTH_MAGICKA = FOOD_BUFF_REGEN_HEALTH + FOOD_BUFF_REGEN_MAGICKA
  16.     local FOOD_BUFF_REGEN_HEALTH_STAMINA = FOOD_BUFF_REGEN_HEALTH + FOOD_BUFF_REGEN_STAMINA
  17.     local FOOD_BUFF_REGEN_MAGICKA_STAMINA = FOOD_BUFF_REGEN_MAGICKA + FOOD_BUFF_REGEN_STAMINA
  18.     local FOOD_BUFF_MAX_ALL = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_MAX_STAMINA
  19.     local FOOD_BUFF_REGEN_ALL = FOOD_BUFF_REGEN_HEALTH + FOOD_BUFF_REGEN_MAGICKA + FOOD_BUFF_REGEN_STAMINA
  20.     local FOOD_BUFF_MAX_HEALTH_REGEN_HEALTH = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_REGEN_HEALTH
  21.     local FOOD_BUFF_MAX_HEALTH_REGEN_MAGICKA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_REGEN_MAGICKA
  22.     local FOOD_BUFF_MAX_HEALTH_REGEN_STAMINA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_REGEN_STAMINA
  23.     local FOOD_BUFF_MAX_HEALTH_REGEN_ALL = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_REGEN_HEALTH + FOOD_BUFF_REGEN_MAGICKA + FOOD_BUFF_REGEN_STAMINA
  24.     local FOOD_BUFF_MAX_MAGICKA_REGEN_STAMINA = FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_REGEN_STAMINA
  25.     local FOOD_BUFF_MAX_MAGICKA_REGEN_HEALTH = FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_REGEN_HEALTH
  26.     local FOOD_BUFF_MAX_MAGICKA_REGEN_MAGICKA = FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_REGEN_MAGICKA
  27.     local FOOD_BUFF_MAX_HEALTH_MAGICKA_REGEN_MAGICKA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_REGEN_MAGICKA
  28.     local FOOD_BUFF_MAX_HEALTH_MAGICKA_SPECIAL_VAMPIRE = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_SPECIAL_VAMPIRE
  29.     local FOOD_BUFF_MAX_STAMINA_REGEN_STAMINA = FOOD_BUFF_MAX_STAMINA + FOOD_BUFF_REGEN_STAMINA
  30.     local FOOD_BUFF_MAX_STAMINA_REGEN_HEALTH = FOOD_BUFF_MAX_STAMINA + FOOD_BUFF_REGEN_HEALTH
  31.     local FOOD_BUFF_MAX_STAMINA_HEALTH_REGEN_STAMINA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_MAX_STAMINA + FOOD_BUFF_REGEN_STAMINA
  32.     local FOOD_BUFF_MAX_STAMINA_REGEN_MAGICKA = FOOD_BUFF_MAX_STAMINA + FOOD_BUFF_REGEN_MAGICKA
  33.     local FOOD_BUFF_MAX_STAMINA_HEALTH_REGEN_MAGICKA = FOOD_BUFF_MAX_STAMINA + FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_REGEN_MAGICKA
  34.     local FOOD_BUFF_REGEN_MAGICKA_STAMINA_FISH = FOOD_BUFF_REGEN_MAGICKA + FOOD_BUFF_REGEN_STAMINA + FOOD_BUFF_FIND_FISHES
  35.     local FOOD_BUFF_MAX_HEALTH_MAGICKA_REGEN_HEALTH_MAGICKA = FOOD_BUFF_MAX_HEALTH + FOOD_BUFF_REGEN_HEALTH + FOOD_BUFF_MAX_MAGICKA + FOOD_BUFF_REGEN_MAGICKA
  36.  
  37.     --Ability IDs of the current possible drink/regen buffs
  38.     local isDrinkBuff = {
  39.         [61322] = FOOD_BUFF_REGEN_HEALTH,
  40.         [61325] = FOOD_BUFF_REGEN_MAGICKA,
  41.         [61328] = FOOD_BUFF_REGEN_STAMINA,
  42.         [61335] = FOOD_BUFF_REGEN_HEALTH_MAGICKA,               --Health & Magicka Recovery (Liqueurs),
  43.         [61340] = FOOD_BUFF_REGEN_HEALTH_STAMINA,
  44.         [61345] = FOOD_BUFF_REGEN_MAGICKA_STAMINA,
  45.         [61350] = FOOD_BUFF_REGEN_ALL,
  46.         --
  47.         [66132] = FOOD_BUFF_REGEN_HEALTH,                       --Health Recovery (Alcoholic Drinks) ,
  48.         [66137] = FOOD_BUFF_REGEN_MAGICKA,                      --Magicka Recovery (Tea) ,
  49.         [66141] = FOOD_BUFF_REGEN_STAMINA,                      --Stamina Recovery (Tonics) -new,
  50.         [66586] = FOOD_BUFF_REGEN_HEALTH,                       --Health Recovery,
  51.         [66590] = FOOD_BUFF_REGEN_MAGICKA,                      --Magicka Recovery,
  52.         [66594] = FOOD_BUFF_REGEN_STAMINA,                      --Stamina Recovery,
  53.         --
  54.         [68411] = FOOD_BUFF_MAX_ALL,                            -- Scootworks: Crown store
  55.         [68416] = FOOD_BUFF_REGEN_ALL,                          --All Primary Stat Recovery (Crown Refreshing Drink),
  56.         --
  57.         [72816] = FOOD_BUFF_REGEN_HEALTH_MAGICKA,               --Red Frothgar
  58.         --
  59.         [72965] = FOOD_BUFF_REGEN_HEALTH_STAMINA,               --Health and Stamina Recovery (Cyrodilic Field Brew),
  60.         [72968] = FOOD_BUFF_REGEN_HEALTH_MAGICKA,               --Health and Magicka Recovery (Cyrodilic Field Tea),
  61.         [72971] = FOOD_BUFF_REGEN_MAGICKA_STAMINA,              --Magicka and Stamina Recovery (Cyrodilic Field Tonic),
  62.         --
  63.         [84700] = FOOD_BUFF_REGEN_HEALTH_MAGICKA,               -- 2h Witches event: Eyeballs
  64.         [84704] = FOOD_BUFF_REGEN_ALL,                          -- 2h Witches event: Witchmother's Party Punch
  65.         [84720] = FOOD_BUFF_MAX_MAGICKA_REGEN_MAGICKA,          -- 2h Witches event: Eye Scream
  66.         [84731] = FOOD_BUFF_MAX_HEALTH_MAGICKA_REGEN_MAGICKA,   -- 2h Witches event: Witchmother's Potent Brew
  67.         [84732] = FOOD_BUFF_REGEN_HEALTH,                       -- Increase Health Regen
  68.         [84733] = FOOD_BUFF_REGEN_HEALTH,                       -- Increase Health Regen
  69.         [84735] = FOOD_BUFF_MAX_HEALTH_MAGICKA_SPECIAL_VAMPIRE, -- 2h Witches event: Double Bloody Mara
  70.         --
  71.         [85484] = FOOD_BUFF_REGEN_ALL,                          -- Increase All Primary Stats ??? Increase all regen
  72.         [85497] = FOOD_BUFF_REGEN_ALL,                          --All Primary Stat Recovery (Crown Refreshing Drink) ,
  73.         --
  74.         [86559] = FOOD_BUFF_REGEN_MAGICKA_STAMINA_FISH,         --Fish Eye
  75.         [86560] = FOOD_BUFF_REGEN_STAMINA,                      --Stamina Recovery
  76.         [86673] = FOOD_BUFF_MAX_STAMINA_REGEN_STAMINA,          --Lava Foot Soup & Saltrice
  77.         [86674] = FOOD_BUFF_REGEN_STAMINA,                      --Stamina Recovery
  78.         [86677] = FOOD_BUFF_MAX_STAMINA_REGEN_HEALTH,           --Warning Fire (Bergama Warning Fire),
  79.         [86678] = FOOD_BUFF_REGEN_HEALTH,                       --Health Recovery,
  80.         [86746] = FOOD_BUFF_REGEN_HEALTH_MAGICKA,               --Betnikh Spiked Ale (Betnikh Twice-Spiked Ale),
  81.         [86747] = FOOD_BUFF_REGEN_HEALTH,                       --Health Recovery
  82.         [86791] = FOOD_BUFF_REGEN_STAMINA,                      --Increase Stamina Recovery (Ice Bear Glow-Wine),
  83.         --
  84.         [89957] = FOOD_BUFF_MAX_STAMINA_HEALTH_REGEN_STAMINA,   --Dubious Camoran Throne
  85.         --
  86.         [100502] = FOOD_BUFF_REGEN_HEALTH_MAGICKA,              -- Deregulated Mushroom Stew (Health + magicka reg)
  87.     }
  88.     --Ability IDs of the current possible food buffs
  89.     local isFoodBuff = {
  90.         [17407] = FOOD_BUFF_MAX_HEALTH,                         --Increase Max Health (Meat Dishes)
  91.         --
  92.         [61218] = FOOD_BUFF_MAX_ALL,
  93.         [61255] = FOOD_BUFF_MAX_HEALTH_STAMINA,
  94.         [61257] = FOOD_BUFF_MAX_HEALTH_MAGICKA,
  95.         [61259] = FOOD_BUFF_MAX_HEALTH,
  96.         [61260] = FOOD_BUFF_MAX_MAGICKA,
  97.         [61261] = FOOD_BUFF_MAX_STAMINA,
  98.         [61294] = FOOD_BUFF_MAX_MAGICKA_STAMINA,
  99.         --
  100.         [66128] = FOOD_BUFF_MAX_MAGICKA,                        --Increase Max Magicka (Fruit Dishes)
  101.         [66130] = FOOD_BUFF_MAX_STAMINA,                        --Increase Max Stamina (Vegetable Dishes)
  102.         [66551] = FOOD_BUFF_MAX_HEALTH,                         --Garlic and Pepper Venison Steak
  103.         [66568] = FOOD_BUFF_MAX_MAGICKA,                        --Increase Max Magicka
  104.         [66576] = FOOD_BUFF_MAX_STAMINA,                        --Increase Max Stamina
  105.         --
  106.         [68411] = FOOD_BUFF_MAX_ALL,                            -- Crown store
  107.         --
  108.         [72816] = FOOD_BUFF_MAX_HEALTH_REGEN_MAGICKA,
  109.         [72819] = FOOD_BUFF_MAX_HEALTH_REGEN_STAMINA,           --Tripe Trifle Pocket
  110.         [72822] = FOOD_BUFF_MAX_HEALTH_REGEN_HEALTH,            --Blood Price Pie
  111.         [72824] = FOOD_BUFF_MAX_HEALTH_REGEN_ALL,               --Smoked Bear Haunch
  112.         [72956] = FOOD_BUFF_MAX_HEALTH_STAMINA,                 --Max Health and Stamina (Cyrodilic Field Tack)
  113.         [72959] = FOOD_BUFF_MAX_HEALTH_MAGICKA,                 --Max Health and Magicka (Cyrodilic Field Treat)
  114.         [72961] = FOOD_BUFF_MAX_MAGICKA_STAMINA,                --Max Stamina and Magicka (Cyrodilic Field Bar)
  115.         --
  116.         [84678] = FOOD_BUFF_MAX_MAGICKA,                        -- 2h Witches event / Jester: Prinzesschens Freude
  117.         [84681] = FOOD_BUFF_MAX_MAGICKA_STAMINA,                -- 2h Witches event: Pumpkin Snack Skewer
  118.         [84709] = FOOD_BUFF_MAX_MAGICKA_REGEN_STAMINA,          -- 2h Witches event: Crunchy Spider Skewer
  119.         [84725] = FOOD_BUFF_MAX_MAGICKA_REGEN_HEALTH,           -- 2h Witches event: The Brains!
  120.         [84736] = FOOD_BUFF_MAX_HEALTH,                         --Increase Max Health
  121.         --
  122.         [85484] = FOOD_BUFF_MAX_ALL,                            -- Scootworks
  123.         --
  124.         [86749] = FOOD_BUFF_MAX_MAGICKA_STAMINA,                --Mud Ball
  125.         [86787] = FOOD_BUFF_MAX_STAMINA,                        --Increase Max Stamina (Rajhin's Sugar Claws, Candied Jester's Coins)
  126.         [86789] = FOOD_BUFF_MAX_HEALTH,                         --Increase Max Health (Alcaire Festival Sword-Pie)
  127.         --
  128.         [89955] = FOOD_BUFF_MAX_STAMINA_REGEN_MAGICKA,          --Candied Jester's Coins
  129.         [89971] = FOOD_BUFF_MAX_STAMINA_HEALTH_REGEN_MAGICKA,   --Jewels of Misrule
  130.         --
  131.         [92435] = FOOD_BUFF_MAX_HEALTH_MAGICKA,                 -- Increase Health & Magicka
  132.         [92437] = FOOD_BUFF_MAX_HEALTH,                         -- Increase Health
  133.         [92474] = FOOD_BUFF_MAX_HEALTH_STAMINA,                 -- Increase Health & Stamina
  134.         [92477] = FOOD_BUFF_MAX_HEALTH,                         -- Increase Health
  135.         --
  136.         [100488] = FOOD_BUFF_MAX_ALL,                           -- Spring-Loaded Infusion (Increase all primary stats)
  137.         [100498] = FOOD_BUFF_MAX_HEALTH_MAGICKA_REGEN_HEALTH_MAGICKA, -- Clockwork Citrus Filet (Increase health + health reg, and magicka + magicka reg)
  138.     }
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » GetActiveFoodTypeBonus()

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off