你改的內容只是人類的子彈包上限制…
殭屍的子彈包在 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))
}
對那行做一樣的限制就好了…