]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/bot/havocbot/vore_ai.qc
Bot AI: If reverse scoring is on, it's in the interest of the prey to get eaten,...
[voretournament/voretournament.git] / data / qcsrc / server / bot / havocbot / vore_ai.qc
index d28839af9dcbf896218f1e86c028ef97605773e4..6fa5945f07a8f0dfa8551f04b510e534876d1d61 100644 (file)
@@ -196,6 +196,9 @@ void Vore_AI()
 // Prey bot behavior:
 // --------------------------------
 
+       if(cvar("g_vore_reversescoring")) // if reverse scoring is on, it's in the interest of the prey to get eaten, so don't fight back
+               return;
+
        // while being swallowed, smart bots know to keep jumping to make it harder to be caught
        // TODO: Don't do this if the predator is a team mate
        if(self.swallow_progress_prey)