{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/188","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/188/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/188/events","html_url":"https://github.com/chrsmith/bwapi/issues/188","id":58521150,"number":188,"title":"CoolDown shows zero for several types of Units","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Component-Logic","name":"Component-Logic","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-22T21:43:02Z","updated_at":"2015-02-22T21:43:03Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. unit->getAirWeaponCooldown() is always 0\n2. unit->getGroundWeaponCooldown() is always 0\n3. only happens for tank and goliath\n\nWhat is the expected output? What do you see instead?\nexpect to find some non zero value when the unit is attacking.\n\nWhat version of the product are you using? On what operating system?\nBWAPI 2.6.1\n\nPlease provide any additional information below.\nthis happens only on tank and goliath (among the units I tested). nothing \nis wrong for marine, ghost, ultralisk...\nalso, unit->isStartingAttack() always return false for tank and goliath.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `hero...@gmail.com` on 22 Jan 2010 at 7:55"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75463043","html_url":"https://github.com/chrsmith/bwapi/issues/188#issuecomment-75463043","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/188","id":75463043,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T21:43:02Z","updated_at":"2015-02-22T21:43:02Z","body":"```\nThis is most likely because tanks and goliaths have \"turrets\" which can attack, \nthe\nunit that you access as tank can't attack. You can access the turret in some \nway,\nmaybe something like getChild. I don't know how it is implemented but I am sure \nthere\nis a way.\n```\n\n-----\nOriginal comment by `Heckl.Jo...@googlemail.com` on 23 Jan 2010 at 12:02"}}