- Timestamp:
- 2015-07-03 14:57:28 (8 years ago)
- Location:
- 2015/27/EemilI/infected - Copy/infected/infected
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/27/EemilI/infected - Copy/infected/infected/infected.cs
r6784 r6801 156 156 157 157 158 aikaLaskuri.Interval = 10;158 aikaLaskuri.Interval = 5; 159 159 aikaLaskuri.Timeout += LuoUusiZombi; 160 160 aikaLaskuri.Start(); … … 328 328 case "ak47": 329 329 ase.Image = asekuva; 330 ase.FireRate = 5;330 ase.FireRate = 7; 331 331 ase.AttackSound = LoadSoundEffect("m4"); 332 332 break; 333 333 case "pistooli": 334 334 ase.Image = pistoolikuva; 335 ase.FireRate = 2;335 ase.FireRate = 3; 336 336 ase.Size = new Vector(pistoolikuva.Width, pistoolikuva.Height)*4; 337 337 ase.AttackSound = LoadSoundEffect("pistol"); … … 339 339 case "haulikko": 340 340 ase.Image = halekuva; 341 ase.FireRate = 4;341 ase.FireRate = 2; 342 342 ase.AttackSound = LoadSoundEffect("hale"); 343 343 break; … … 363 363 break; 364 364 case "haulikko": 365 if (RandomGen.NextInt(0, 100) > 40)365 if (RandomGen.NextInt(0, 100) > 50) 366 366 { 367 367 pistelaskuri.Value += RandomGen.NextInt(1, 10); … … 411 411 kauppa.AddItemHandler(1, delegate 412 412 { 413 if (pistelaskuri.Value >= 250)414 { 415 pistelaskuri.Value -= 250;413 if (pistelaskuri.Value >= 175) 414 { 415 pistelaskuri.Value -= 175; 416 416 Keyboard.Listen(Key.D3, ButtonState.Pressed, VaihdaAse, "Ota ak-47 esille", "ak47"); 417 417 }
Note: See TracChangeset
for help on using the changeset viewer.