Changeset 6801 for 2015/27


Ignore:
Timestamp:
2015-07-03 14:57:28 (8 years ago)
Author:
eemikone
Message:
 
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  
    156156 
    157157 
    158         aikaLaskuri.Interval = 10; 
     158        aikaLaskuri.Interval = 5; 
    159159        aikaLaskuri.Timeout += LuoUusiZombi; 
    160160        aikaLaskuri.Start(); 
     
    328328            case "ak47": 
    329329                ase.Image = asekuva; 
    330                 ase.FireRate = 5; 
     330                ase.FireRate = 7; 
    331331                ase.AttackSound = LoadSoundEffect("m4"); 
    332332                break; 
    333333            case "pistooli": 
    334334                ase.Image = pistoolikuva; 
    335                 ase.FireRate = 2; 
     335                ase.FireRate = 3; 
    336336                ase.Size = new Vector(pistoolikuva.Width, pistoolikuva.Height)*4; 
    337337                ase.AttackSound = LoadSoundEffect("pistol"); 
     
    339339            case "haulikko": 
    340340                ase.Image = halekuva; 
    341                 ase.FireRate = 4; 
     341                ase.FireRate = 2; 
    342342                ase.AttackSound = LoadSoundEffect("hale"); 
    343343                break; 
     
    363363                    break; 
    364364                case "haulikko": 
    365                     if (RandomGen.NextInt(0, 100) > 40) 
     365                    if (RandomGen.NextInt(0, 100) > 50) 
    366366                    { 
    367367                        pistelaskuri.Value += RandomGen.NextInt(1, 10); 
     
    411411        kauppa.AddItemHandler(1, delegate 
    412412        { 
    413             if (pistelaskuri.Value >= 250) 
    414             { 
    415                 pistelaskuri.Value -= 250; 
     413            if (pistelaskuri.Value >= 175) 
     414            { 
     415                pistelaskuri.Value -= 175; 
    416416                Keyboard.Listen(Key.D3, ButtonState.Pressed, VaihdaAse, "Ota ak-47 esille", "ak47"); 
    417417            } 
Note: See TracChangeset for help on using the changeset viewer.