Fixed entity destruction
Added dota.upgradeAbility