-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Spells/Scripts: Implement Leech Stat and SPELL_AURA_MOD_LEECH #30385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
||
ApplyPct(amount, tmpMod); | ||
|
||
HealInfo healInfo(this, this, amount, leechSpell, leechSpell->GetSchoolMask()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this take into account that only effective healing should leech?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where it says is only effective heal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because Leech only works on healing if it's effective healing, otherwise I can endlessly heal a target and get Leech value from it, which makes no sense:
If I were to heal a target that has 100k hp max., but the target is missing 20k (they're at 80k), and my healing spell is bound to heal 30k, that means I will only Leech from 20k, which is the effective healing of my cast.
Changes proposed:
Tests performed:
Tested in-game