JianWei Lee
/
project_game
Meteor defense project
Diff: Spawn/Spawn.cpp
- Revision:
- 41:1b396334256b
- Parent:
- 40:3a0c66a0e10e
- Child:
- 44:aa086363d09f
--- a/Spawn/Spawn.cpp Sat Apr 29 19:27:20 2017 +0000 +++ b/Spawn/Spawn.cpp Sun Apr 30 21:53:28 2017 +0000 @@ -10,11 +10,11 @@ } void Spawn::init(int w) { - A.health = 7 + 2 * w; + A.health = 7 + 4 * w; A.spawnRate = 35 + w; B.health = 1000; //health B wont change B.spawnRate = 1 + w / 2; - C.health = 150 + w * 5; + C.health = 150 + w * 10; C.spawnRate = 1 + w; DE.health = 20 + w; DE.spawnRate = 1 + w / 2;