Skip to content

Commit

Permalink
Added additional ranks to Healthstone and Soulstone.
Browse files Browse the repository at this point in the history
  • Loading branch information
Softrix committed Oct 8, 2022
1 parent 5fc8f2a commit acc0d2a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion SmartBuff-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11403
## Title: |TInterface\Addons\Smartbuff\Icons\IconEnabled:0|t SmartBuff |cffffffff(Classic Version)|r
## Version: 35.11403
## Version: 36.11403
## Author: |cff20d2ffCodermik (Mik / Castanova on EU-Mirage Raceway) & Aeldra|r (EU-Proudmoore)
## Notes: Cast the most important buffs on you or party, raid, pets and assigned tanks. Use /sbm for options menu.
## DefaultState: Enabled
Expand Down
2 changes: 1 addition & 1 deletion SmartBuff-TBC.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 20504
## Title: |TInterface\Addons\Smartbuff\Icons\IconEnabled:0|t SmartBuff |cffffffff(TBC Classic)|r
## Version: 35.20504
## Version: 36.20504
## Author: |cff20d2ffCodermik (Mik / Castanova on EU-Mirage Raceway) & Aeldra|r (EU-Proudmoore)
## Notes: Cast the most important buffs on you or party, raid, pets and assigned tanks. Use /sbm for options menu.
## DefaultState: Enabled
Expand Down
10 changes: 10 additions & 0 deletions SmartBuff.buffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,17 @@ function SMARTBUFF_InitSpellIDs()
SMARTBUFF_CREATEHS = GetSpellInfo(5699); --"Create Healthstone"
SMARTBUFF_CREATEHSGRE = GetSpellInfo(11729); --"Create Healthstone (Greater)"
SMARTBUFF_CREATEHSMAJ = GetSpellInfo(11730); --"Create Healthstone (Major)"
SMARTBUFF_CREATEHSMAS = GetSpellInfo(27230); --"Create Healthstone (Master)"
SMARTBUFF_CREATEHSDEM = GetSpellInfo(47871); --"Create Healthstone (Demonic)"
SMARTBUFF_CREATEHSFEL = GetSpellInfo(47878); --"Create Healthstone (Fel)"
SMARTBUFF_SOULSTONE = GetSpellInfo(20707); --"Soulstone"
SMARTBUFF_CREATESSMIN = GetSpellInfo(693); --"Create Soulstone (Minor)"
SMARTBUFF_CREATESSLES = GetSpellInfo(20752); --"Create Soulstone (Lesser)"
SMARTBUFF_CREATESS = GetSpellInfo(20755); --"Create Soulstone"
SMARTBUFF_CREATESSGRE = GetSpellInfo(20756); --"Create Soulstone (Greater)"
SMARTBUFF_CREATESSMAJ = GetSpellInfo(20757); --"Create Soulstone (Major)"
SMARTBUFF_CREATESSMAS = GetSpellInfo(27238); --"Create Soulstone (Master)"
SMARTBUFF_CREATESSDEM = GetSpellInfo(47884); --"Create Soulstone (Demonic)"

-- Warlock chained
S.ChainWarlockArmor = { SMARTBUFF_DEMONSKIN, SMARTBUFF_DEMONARMOR, SMARTBUFF_FELARMOR };
Expand Down Expand Up @@ -676,11 +681,16 @@ function SMARTBUFF_InitSpellList()
{SMARTBUFF_CREATEHS, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_HEALTHSTONEGEM},
{SMARTBUFF_CREATEHSLES, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_HEALTHSTONEGEM},
{SMARTBUFF_CREATEHSMIN, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_HEALTHSTONEGEM},
{SMARTBUFF_CREATEHSMAS, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_HEALTHSTONEGEM},
{SMARTBUFF_CREATEHSDEM, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_HEALTHSTONEGEM},
{SMARTBUFF_CREATEHSFEL, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_HEALTHSTONEGEM},
{SMARTBUFF_CREATESSMAJ, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_CREATESSGRE, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_CREATESS, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_CREATESSLES, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_CREATESSMIN, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_CREATESSMAS, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_CREATESSDEM, 0.03, SMARTBUFF_CONST_ITEM, nil, SMARTBUFF_SOULSTONEGEM},
{SMARTBUFF_LOCKSPELLSTONE5, 60, SMARTBUFF_CONST_INV},
{SMARTBUFF_LOCKSPELLSTONE4, 60, SMARTBUFF_CONST_INV},
{SMARTBUFF_LOCKSPELLSTONE3, 60, SMARTBUFF_CONST_INV},
Expand Down
4 changes: 2 additions & 2 deletions SmartBuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
-- Cast the most important buffs on you, tanks or party/raid members/pets.
-------------------------------------------------------------------------------

SMARTBUFF_DATE = "260922";
SMARTBUFF_VERSION = "r35."..SMARTBUFF_DATE;
SMARTBUFF_DATE = "081022 Dev";
SMARTBUFF_VERSION = "r36."..SMARTBUFF_DATE;
SMARTBUFF_VERSIONMIN = 11403; -- min version
SMARTBUFF_VERSIONNR = 30400; -- max version
SMARTBUFF_TITLE = "SmartBuff";
Expand Down
2 changes: 1 addition & 1 deletion SmartBuff.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 30400
## Title: |TInterface\Addons\Smartbuff\Icons\IconEnabled:0|t SmartBuff |cffffffff(WOTLK Classic)|r
## Version: 35.30400
## Version: 36.30400
## Author: |cff20d2ffCodermik (Mik / Castanova on EU-Mirage Raceway) & Aeldra|r (EU-Proudmoore)
## Notes: Cast the most important buffs on you or party, raid, pets and assigned tanks. Use /sbm for options menu.
## DefaultState: Enabled
Expand Down
9 changes: 3 additions & 6 deletions localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
SMARTBUFF_WHATSNEW = "\n\n|cffffffff Whats new:|r\n\n"
.." |cffffffffClassic version by Codermik\n"
.." Please report any issues on Curse or Discord.|r\n\n\n"
.." Changes in r35:\n\n"
.." * Added the self buff option into classic\n"
.." versions of Smartbuff.\n\n"
.." * Added Warlock Spellstones to the list.\n\n"
.." * Added checks for Fel Intelligence that was \n"
.." causing missing buff spam.\n\n"
.." Changes in r36:\n\n"
.." * Added some missing spells and/or ranks for\n"
.." existing spells in Smartbuff.\n\n"
.."\n\n"
.." |c0000FF96Many thanks to Chris S. for his donation and\n"
.." supporting my addon development.\n\n"
Expand Down

0 comments on commit acc0d2a

Please sign in to comment.