1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-08 12:58:13 -05:00

Bouncing Betty: replace Claymore on Origins

Claymore: increase explosion radius
Move certain vars to not exceed canonical string table limit
This commit is contained in:
Jbleezy
2024-02-09 18:39:06 -08:00
parent 04252e9420
commit 4c7b0f53c7
17 changed files with 784 additions and 69 deletions

View File

@ -0,0 +1,26 @@
#include maps\mp\zombies\_zm_ffotd;
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\zombies\_zm_utility;
#include maps\mp\zombies\_zm_stats;
ffotd_melee_miss_func()
{
if (isdefined(self.enemy))
{
if (isplayer(self.enemy) && is_placeable_mine(self.enemy getcurrentweapon()))
{
dist_sq = distancesquared(self.enemy.origin, self.origin);
melee_dist_sq = self.meleeattackdist * self.meleeattackdist;
if (dist_sq < melee_dist_sq)
{
self.enemy dodamage(self.meleedamage, self.origin, self, self, "none", "MOD_MELEE");
return;
}
}
}
if (isdefined(level.original_melee_miss_func))
self [[level.original_melee_miss_func]]();
}