{"action":"created","issue":{"url":"https://api.github.com/repos/jasonhall/bwapi/issues/204","labels_url":"https://api.github.com/repos/jasonhall/bwapi/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/jasonhall/bwapi/issues/204/comments","events_url":"https://api.github.com/repos/jasonhall/bwapi/issues/204/events","html_url":"https://github.com/jasonhall/bwapi/issues/204","id":59427078,"number":204,"title":"Add upgrade information for attack range, sight range, speed, etc","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/jasonhall/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"},{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-02T00:53:54Z","updated_at":"2015-03-02T00:53:55Z","closed_at":"2015-03-02T00:53:54Z","body":"```\ndragoon->getType().groundWeapon()->maxRange() seems to not account for the\nrange upgrade?\n```\n\nOriginal issue reported on code.google.com by `tren...@gmail.com` on 21 Mar 2010 at 11:31"},"comment":{"url":"https://api.github.com/repos/jasonhall/bwapi/issues/comments/76643325","html_url":"https://github.com/jasonhall/bwapi/issues/204#issuecomment-76643325","issue_url":"https://api.github.com/repos/jasonhall/bwapi/issues/204","id":76643325,"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-03-02T00:53:55Z","updated_at":"2015-03-02T00:53:55Z","body":"```\nI don't really know how to best implement this.\n\nResearching a weapon upgrade changes some attributes of the weapons of specific\nunits. But since you say the types are global and I suppose you also mean they \nare\nimmutable in the sense that they should always return the same values then one \ncannot\nchange the functions of the weapon types.\n\nResearching a weapon upgrade also is like if a unit of a certain type gets a\ndifferent weapon assigned, so one could simply create a new WeaponType that \nreflects\nthe upgraded Dragoon weapon?\n\nMovement speed upgrades for hydras are probably similar but still different \nsomehow.\nHow is the function that returns the speed for the hydra implemented?\n\n\n```\n\nOriginal comment by `tren...@gmail.com` on 24 Mar 2010 at 11:13"}}