Comments (9)
Yes it looks like we are missing energy cost currently. Good suggestion.
To be more general, maybe we should have a health cost too. (eg. Stim)
from s2client-proto.
Would it be better to have an additional field that specifies what resource it's using? Are there any other resources than energy and health and is health only used by stim? I can't think of anything else.
from s2client-proto.
Void Ray slowdown?
from s2client-proto.
Err, I think there's no cost associated with Prismatic Alignment beyond the cooldown. I figure the slowdown is an effect and not a cost.
from s2client-proto.
That sounds right. How about archon merge, Zerg morphs and nuke calldown, that result to loss of other units? Probably not an issue either, since it should be quite clear what happens with those.
from s2client-proto.
I feel like nuke calldown is interesting because nukes could be considered a resource, but it's a global resource instead of per unit. Merge and morph are interesting, I'm not sure if the unit could be considered a "cost" in this sense though. Perhaps there's something different that could specify it? Maybe for archons is makes sense because it costs "another unit" but otherwise don't have a cost. You bring up another good point with morphs though. Morphing is an ability that costs minerals/gas. I believe the definition for abilities they gave also includes things like Terran buildings creating attachments. Those also have an associated cost.
from s2client-proto.
All Zerg morphs create a new unit that cannot be obtained otherwise (at least currently), and you can always check the cost of the new unit. GameData contains repeated UnitTypeData field that contains following info on baneling:
unit_id: 9
name: "Baneling"
available: true
cargo_size: 2
attributes: Biological
movement_speed: 2.5
armor: 0.0
mineral_cost: 50
vespene_cost: 25
Other related case would be buildings. Do their abilities need to have the cost listed, or is it enough to be able to fetch it from the unit list. I think it is, but I'm not completely sure.
from s2client-proto.
Another interesting case is Oracle energy: The ability itself costs 25 energy to activate, and then some energy per every second. Viper has similar ability, Consume. Both abilities take hp, but oracle targets moving units, and viper friendly structures. Moreover, Consume gives energy instead of reducing it, but that could just be marked with negative energy cost. Maybe using two values, energy_cost
and energy_cost_per_second
could be possible?
from s2client-proto.
Would still be nice getting an energy_cost for an ability :)
from s2client-proto.
Related Issues (20)
- Is it possible to install SC2 in Windows like the Linux version? HOT 1
- Any information about the 3.16.1 replay packs?
- RuntimeError SC2_x64
- Request: Windows sc2 binaries for viewing older client version replays HOT 1
- Password on map archive ? HOT 1
- New Linux version HOT 6
- [SC2.4.6.1.68195.zip] StarCraftII/Versions/Shaders41359/OpenGL2/baselineCache.bin password: HOT 2
- MapPack links fail to download in Chrome HOT 1
- custom barracks HOT 1
- custom barracks HOT 1
- WSL as a way to load SC2
- Missing buff for carrying rich vespene gas
- Fatal error occurred: 'e_errorIdMemoryUnknown' HOT 1
- URLS for downloading map packs not working. HOT 2
- DebugGameState gas does nothing
- Where can I find a map of 7sz?
- Map password protection upon extraction HOT 1
- Can't Accept Enemy Surrenders? HOT 1
- How can I quickly restart the game when I am multiple players? HOT 1
- Is it possible to launch game with mods HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2client-proto.