attack delay 120, and burst 80

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5316 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-07-08 21:03:19 +00:00
parent 9f14171b9f
commit 1b7e377783
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -442,7 +442,7 @@ guninfo guns[NUMGUNS] =
{ "subgun", S_SUBGUN, S_RSUBGUN, 1650, 80, 15, 0, 0, 40, 15, 30, 1, 2, 4, 15, 40, 175, 1, true },
{ "sniper", S_SNIPER, S_RSNIPER, 1950, 1500, 80, 0, 0, 60, 50, 5, 4, 4, 10, 85, 85, 100, 1, false },
{ "assault", S_ASSAULT, S_RASSAULT, 2000, 120, 24, 0, 0, 20, 40, 20, 0, 2, 2, 18, 50, 125, 1, true },
{ "cpistol", S_PISTOL, S_RPISTOL, 1400, 80, 19, 0, 0, 35, 10, 15, 6, 5, 6, 35, 58, 125, 1, false }, // temporary
{ "cpistol", S_PISTOL, S_RPISTOL, 1400, 120, 19, 0, 0, 35, 10, 15, 6, 5, 6, 35, 58, 125, 1, false }, // temporary
{ "grenade", S_NULL, S_NULL, 1000, 650, 200, 20, 6, 1, 1, 1, 3, 1, 0, 0, 0, 0, 3, false },
{ "pistol", S_PISTOL, S_RAKIMBO, 1400, 80, 19, 0, 0, 45, 10, 16, 6, 5, 8, 10, 18, 150, 1, true },
};
+4
View File
@@ -1220,6 +1220,10 @@ bool cpistol::attack(vec &targ) // modded from gun::attack // FIXME
gunwait = 500;
shots = 0;
}
else if ( bursting )
{
gunwait = 80;
}
else
{
gunwait = info.attackdelay;