MNoya / BuildingHelper

Library for RTS & TD Dota Custom Games
GNU General Public License v3.0
37 stars 14 forks source link

Add a Check for IsRepairing #23

Open SirWayN3 opened 5 years ago

SirWayN3 commented 5 years ago

Please add something like this:

function BuildingHelper:IsRepairing( unit )
    return unit:HasModifier("modifier_builder_repairing")
end

Helps to get wether a unit is in repairing state.