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
[3.3.5] Scripts/Spells: Life Tap #17559
Comments
Are you sure it's spirit that is scalig wrong and not spell power? If the item has INT on it then it would increase the spell power stat. The mana returned is scaled based on spell power. Perhaps this is also being incorrectly applied to the health requirement. |
Yes try equipping items that give you extra spirit and you'll see that the HP requirement will go up when it shouldn't whereas equipping items that give spell power doesn't affect it. |
Problem is in spell_warl_life_tap class In SpellCastResult CheckCast() Line #824 Needs to be changed to: Tooltip will still display wrong required HP value but the spell works as intended. |
Looks like hack to me. |
The mana gained does scale with spell power as intended regardless of this fix, the spell power has no effect on the returned mana value. HP value should not change regardless of spell power, it is a fixed value and only the gained mana should change. As of now HP taken is a fixed value as it should be regardless of spell power. Problem is that the required HP check scales the value (even though it should be a fixed value) based on the spirit stat of the player. This commit fixes the HP check and keeps the static value without the spirit scaling. If anything what is this 6.3875 * BaseLevel based on? EDIT: |
Nope, this should scale with spirit. It is completely missing in the script. The hp lost should be like this: "base damage" + 1.5*Spirit |
@d3tr0l
tooltip is wrong. |
Just for references...
They are Lazy and dont fixed it in 3.3.5a too xD |
Description: Life Tap HP requirement goes up the more spirit players have causing the players to not be able to use it at times when they should be able to.
Current behaviour: The more spirit the player has the more HP required for the player to use the item goes.
Expected behaviour: Spell shouldn't scale with spirit.
Steps to reproduce the problem:
Branch(es): 3.3.5
TC hash/commit: ebb33bb
TDB version: TDB_full_335.61_2016_04_11
Operating system: Windows 10 Pro x64
Additional note: The spell performs HP check based on HP percentage (not sure if that is how it should be).
The text was updated successfully, but these errors were encountered: