• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Life drain bug

Status
Not open for further replies.
Level 19
Joined
Dec 12, 2010
Messages
2,069
If the unit received bonus hit points from Life Drain (meaning he exceeded maximum amount, this require Gameplay constants' flag), he won't fire "unit_damaged" event at all, while bonus exists allow to use GetEventDamage, returning 0. That means mapmaker won't be able to detect any damage received by "boosted" unit.

This removes all purposes of using this skill's feature at all.

Test map attached below (5th post).

Repro - suck some HP from footies and look at debug msgs
 
Last edited:
Status
Not open for further replies.
Top