]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/bot/havocbot/vore_ai.qc
A comment too
[voretournament/voretournament.git] / data / qcsrc / server / bot / havocbot / vore_ai.qc
index 207f9055bb5c30adf7b1e37a5b1c5f11bfa1e7b4..51a3ed393989c7fafaf9df4b3cab0c93ffd59571 100644 (file)
@@ -5,6 +5,7 @@ float Swallow_condition_check_bot(entity prey)
        // checks the necessary conditions for a bot to swallow a player
 
        if(Swallow_condition_check(prey)) // check the normal conditions of the vore system
+       if(time >= prey.spawnshieldtime) // spawn shield means you are invincible
        if not(prey.BUTTON_CHAT) // don't eat players who are chatting
        if(self.health > cvar("g_balance_vore_kick_damage_max")) // explained below
                return TRUE;