Nostrademous / Dota2-FullOverwrite

Work in progress for a full-overwrite Dota 2 bot framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Detection of Blade Mail Target use

Nostrademous opened this issue · comments

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.

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

^ 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