Quantcast
Download
(6 Kb)
Download
Updated: 08-10-17 12:16 PM
Pictures
File Info
Compatibility:
Tomb of Sargeras (7.2.0)
Updated:08-10-17 12:16 PM
Created:08-02-17 02:36 PM
Downloads:436
Favorites:8
MD5:
7.2.0

SmartHealing

Version: 0.2b
by: Paopao001 [More]

This is an addon works with WeakAuras.
It gives you healing advice by adding an glowing icon to raid frames.

Supported Raid Frames: Grid Grid2 CompactRaid VuhDo ElvUI AltzUI and Blz RaidFrames
Supported Healers: Shaman Paladin Druid

eg. https://wago.io/SyzmZnkDb

Tigger Type Custom

Event Type Tigger State Updater

Check on Event(s) CHAT_MSG_ADDON

Custom Trigger

Shaman

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(90, "G", 70)
  5.         -- Heal players whos health percentage is below 90%
  6.         -- "G" for The group members are close to each other.
  7.         -- Use AoE Healing spells (eg. Healing chain) if at least 4 group members' health are below 70%
  8.     end
  9. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(85, "S", 60)
  5.         -- Heal players whos health percentage is below 85%
  6.         -- "S" for Tanks and melee dpser are far from healer and range dpser.
  7.         -- Use AoE Healing spells (eg. Healing chain) if at least 3 group members' in party 1&2 health are below 60%
  8.         -- Use AoE Healing spells (eg. Healing chain) if at least 3 group members' in party 3&4 health are below 60%
  9.     end
  10. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "D", 60, 236596, "G")
  5.         -- 236596 is for "Rapid Shot" http://www.wowhead.com/spell=236596/rapid-shot
  6.         -- Heal players with Rapid Shot (health percentage is below 95)
  7.         -- If the player with Rapid Shot is safe then heal others like F.GetSmartSpell(95, "G", 60)
  8.     end
  9. end

Paladin
Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "R", 70)
  5.         -- Heal players whos health percentage is below 95%
  6.         -- "R" for non-targeting-debuff healing.
  7.         -- Use AoE Healing spells when a number of players are below 70%, this has no effect on paladins.
  8.     end
  9. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "D", 60, 236596, "R")
  5.         -- 236596 is for "Rapid Shot" http://www.wowhead.com/spell=236596/rapid-shot
  6.         -- Heal players with Rapid Shot (health percentage is below 95)
  7.         -- If the player with Rapid Shot is safe then heal others like F.GetSmartSpell(95, "R", 60)
  8.     end
  9. end

Druid

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "E", 70)
  5.         -- Heal players whos health percentage is below 95%.
  6.         -- "E" for mana-saving healing.
  7.         -- Use AoE Healing spells when a number of players are below 70%, this has no effect during mana-saving healing.
  8.     end
  9. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "P", 70)
  5.         -- Heal players whos health percentage is below 95% first before put rejuvenation on others.
  6.         -- "P" for preparation before burst out healing. It's like "E" plus rejuvenation as much as possible.
  7.         -- Use AoE Healing spells when a number of players are below 70%, this has no effect here.
  8.     end
  9. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "B", 80)
  5.         -- Heal players whos health percentage is below 95% first before put rejuvenation on others.
  6.         -- "B" for burst out healing. We use wild growth as much as we can.
  7.         -- Use AoE Healing spells when a number of players are below 80%.
  8.     end
  9. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "M", 80)
  5.         -- Heal players whos health percentage is below 95% first before put rejuvenation on others.
  6.         -- "M" for healing in 5-man Mythic+.
  7.         -- Use AoE Healing spells when a number of players are below 80%.
  8.     end
  9. end

Lua Code:
  1. function(self, event, p, m, c, s)
  2.     if p == "SmartHealing" and m == "EVENTS_UPDATE" and s == UnitName("player").."-"..GetRealmName() then
  3.         local F = SmartHealing[1]
  4.         F.GetSmartSpell(95, "D", 65, 236596, "P")
  5.         -- 236596 is for "Rapid Shot" http://www.wowhead.com/spell=236596/rapid-shot
  6.         -- Heal players with Rapid Shot (health percentage is below 95)
  7.         -- If the player with Rapid Shot is safe then heal others like F.GetSmartSpell(95, "P", 65)
  8.     end
  9. end

0.2b

fix paladin bug
fix LFG bug
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
0.2
6kB
Paopao001
08-08-17 11:02 AM
0.1
5kB
Paopao001
08-02-17 02:39 PM


Post A Reply Comment Options
Unread 08-10-17, 10:30 AM  
Fahrell
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by Fahrell
I worked with Grid THAAAAAAAAANKS
Well coded, any chance to add legendaries ?

Btw i'm publishing ur addon on discord channels
Report comment to moderator  
Reply With Quote
Unread 08-10-17, 10:20 AM  
Fahrell
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
I worked with Grid THAAAAAAAAANKS
Report comment to moderator  
Reply With Quote
Unread 08-10-17, 06:04 AM  
Fahrell
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by Paopao001
Originally Posted by Fahrell
Originally Posted by Paopao001
Originally Posted by Fahrell
Originally Posted by Paopao001
Originally Posted by Fahrell
Hello, anyway to add Rdruid ? please thank you
next class supported is druid
Appreciated ! thank u
did u updated the weakauras?
WA detects addon message from SmartHealing. Now it only recive messages send by player, other then all the SmartHealing users in Raid.
Cause i tried it on my druid yesterday but nothing happened, is it working only on raids ? not on party?

Should i configure something before using it?
look into wa
Did u try it on ur druid ? I'm using AltzUI btw
Report comment to moderator  
Reply With Quote
Unread 08-10-17, 05:34 AM  
Paopao001
A Fallenroot Satyr
 
Paopao001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 286
Uploads: 18
Originally Posted by Fahrell
Originally Posted by Paopao001
Originally Posted by Fahrell
Originally Posted by Paopao001
Originally Posted by Fahrell
Hello, anyway to add Rdruid ? please thank you
next class supported is druid
Appreciated ! thank u
did u updated the weakauras?
WA detects addon message from SmartHealing. Now it only recive messages send by player, other then all the SmartHealing users in Raid.
Cause i tried it on my druid yesterday but nothing happened, is it working only on raids ? not on party?

Should i configure something before using it?
look into wa
__________________

I hope you could understand my broken English.
If I offended you it was unwitting.
Report comment to moderator  
Reply With Quote
Unread 08-10-17, 03:52 AM  
Fahrell
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by Paopao001
Originally Posted by Fahrell
Originally Posted by Paopao001
Originally Posted by Fahrell
Hello, anyway to add Rdruid ? please thank you
next class supported is druid
Appreciated ! thank u
did u updated the weakauras?
WA detects addon message from SmartHealing. Now it only recive messages send by player, other then all the SmartHealing users in Raid.
Cause i tried it on my druid yesterday but nothing happened, is it working only on raids ? not on party?

Should i configure something before using it?
Report comment to moderator  
Reply With Quote
Unread 08-09-17, 09:29 PM  
Paopao001
A Fallenroot Satyr
 
Paopao001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 286
Uploads: 18
Originally Posted by Fahrell
Originally Posted by Paopao001
Originally Posted by Fahrell
Hello, anyway to add Rdruid ? please thank you
next class supported is druid
Appreciated ! thank u
did u updated the weakauras?
WA detects addon message from SmartHealing. Now it only recive messages send by player, other then all the SmartHealing users in Raid.
__________________

I hope you could understand my broken English.
If I offended you it was unwitting.
Last edited by Paopao001 : 08-09-17 at 09:29 PM.
Report comment to moderator  
Reply With Quote
Unread 08-09-17, 05:53 PM  
Fahrell
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Originally Posted by Paopao001
Originally Posted by Fahrell
Hello, anyway to add Rdruid ? please thank you
next class supported is druid
Appreciated ! thank u
did u updated the weakauras?
Last edited by Fahrell : 08-09-17 at 05:56 PM.
Report comment to moderator  
Reply With Quote
Unread 08-05-17, 03:47 AM  
Paopao001
A Fallenroot Satyr
 
Paopao001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 286
Uploads: 18
Originally Posted by Fahrell
Hello, anyway to add Rdruid ? please thank you
next class supported is druid
__________________

I hope you could understand my broken English.
If I offended you it was unwitting.
Report comment to moderator  
Reply With Quote
Unread 08-05-17, 03:46 AM  
Paopao001
A Fallenroot Satyr
 
Paopao001's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 286
Uploads: 18
Originally Posted by esevenf
I wanted to try this out in LFR but it didn't actually do anything and kept spamming "you are not in a raid group".

Fix for that would be appreciated
will be fix soon
__________________

I hope you could understand my broken English.
If I offended you it was unwitting.
Report comment to moderator  
Reply With Quote
Unread 08-04-17, 04:31 PM  
Fahrell
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Hello, anyway to add Rdruid ? please thank you
Report comment to moderator  
Reply With Quote
Unread 08-04-17, 03:47 AM  
esevenf
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I wanted to try this out in LFR but it didn't actually do anything and kept spamming "you are not in a raid group".

Fix for that would be appreciated
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: