Nostrademous / Dota2-FullOverwrite

Work in progress for a full-overwrite Dota 2 bot framework
GNU General Public License v3.0
97 stars 42 forks source link

Implement Detection of Blade Mail Target use #196

Open Nostrademous opened 7 years ago

Nostrademous commented 7 years ago

For our heavy right-clickers, we need to know when enemy uses Blade Mail so we don't kill ourselves (unless we have BKB up).

Modifier to check is "modifier_item_blade_mail_reflect"

BKB modifier is: "modifier_black_king_bar_immune". That one should be added to modifiers.lua as I anticipate we will be wanting to know when we have it up and when enemies have it up a lot.

Keithenneu commented 7 years ago

BKB won't help against that :D (Blademail dmg type is the same as incoming damage type)

ThePianoDentist commented 7 years ago

^ It used to behave like 1st post mentions, but was patched at some-point.

I think want a 2nd check.

if blademail is active, we then check their health and ours. see if should attack anyway.

otherwise you could just blademail on 10 hp and bots would just waddle off.

This seems like a decently simple issue for me to get an understanding of how project works. so ill work on this issue if no objections