Module dpmod: Change committed
havoc at icculus.org
havoc at icculus.org
Sat Feb 22 04:27:36 EST 2003
Commiter : havoc
CVSROOT : /cvs/cvsroot/twilight
Module : dpmod
Commit time: 2003-02-22 09:27:36 UTC
Log message:
explosive slugs like the single barrel, a little weaker though (85 damage instead of 95 - that makes 170 for both barrels)
Modified files:
qc/w_dbshotgun.qc
------=MIME.fcb160b46edb741b25c9c2545bbd0c56
Content-Type: text/plain; name="dpmod.20030222.092736.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20030222.092736.havoc.diff"
Content-Transfer-Encoding: 8bit
Index: dpmod/qc/w_dbshotgun.qc
diff -u dpmod/qc/w_dbshotgun.qc:1.5 dpmod/qc/w_dbshotgun.qc:1.6
--- dpmod/qc/w_dbshotgun.qc:1.5 Thu Feb 20 03:58:15 2003
+++ dpmod/qc/w_dbshotgun.qc Sat Feb 22 04:27:26 2003
@@ -65,8 +65,8 @@
Obituary_Fallback(targ, attacker, dmsg, dtype);
};
-float DBSHOTGUNBUCKSHOT = 80;
-//float DBSHOTGUNEXPLOSIVESLUG = 85;
+//float DBSHOTGUNBUCKSHOT = 80;
+float DBSHOTGUNEXPLOSIVESLUG = 85;
.float shotgunmode, shotgunshells;
void(void(entity t, entity a, string m, float dtyp) obitfunc, float spreadboost) W_DBShotgunFireShell =
@@ -93,15 +93,15 @@
self.currentammo = self.ammo_shells = self.ammo_shells - 1;
self.wfiretime = time;
w_muzzleflash(v, 4);
- /*
- if (self.shotgunmode)
+ //if (self.shotgunmode)
FireBullets(self, self, 1, 1, 0, 0, DBSHOTGUNEXPLOSIVESLUG * damagescale, 80, shotdir * 5000, spreadboost, "SHOTGUNEXPLOSIVESLUG", DT_SHOTGUN, obitfunc);
+ /*
else
- */
{
FireBullets(self, self, 1, 5, DBSHOTGUNBUCKSHOT * 0.1 * damagescale, DBSHOTGUNBUCKSHOT * 0.1 * damagescale, 0, 0, shotdir * 6000, spreadboost + 0.03, "SHOTGUN", DT_SHOTGUN, obitfunc);
FireBullets(self, self, 0, 5, DBSHOTGUNBUCKSHOT * 0.1 * damagescale, DBSHOTGUNBUCKSHOT * 0.1 * damagescale, 0, 0, shotdir * 6000, spreadboost + 0.03, "SHOTGUN", DT_SHOTGUN, obitfunc);
}
+ */
shotorg = v;
};
More information about the twilight-commits
mailing list