你改的内容只是人类的子弹包上限制…
僵尸的子弹包在 zombieme(id, infector, nemesis, silentmode, rewards) 里面:
复制程式
// Show deathmsg and reward infector?
if (rewards && infector)
{
// Send death notice and fix the "dead" attrib on scoreboard
SendDeathMsg(infector, id)
FixDeadAttrib(id)
// Reward frags, deaths, health, and ammo packs
UpdateFrags(infector, id, get_pcvar_num(cvar_fragsinfect), 1, 1)
g_ammopacks[infector] += get_pcvar_num(cvar_ammoinfect) // 这是增加僵尸子弹包的判断
fm_set_user_health(infector, pev(infector, pev_health) + get_pcvar_num(cvar_zombiebonushp))
}
对那行做一样的限制就好了…