rafradek / sigsegv-mvm

gigantic, obese SourceMod extension library of sigsegv's TF2 mods (mostly MvM related)
Other
63 stars 19 forks source link

[BUG] Addcond 66 doesn't work properly when applied to bots using "effect cond override" 66 on Crit-a-Cola #120

Closed raandomguy closed 2 months ago

raandomguy commented 2 months ago

Instead of recloaking after attacking, bots given cond 66 in this way will remain visible after attacking until it is re-applied.

T_TFBot_Scout_Crit_Cola_Melee
        {
            Class               Scout
            Item                Crit-a-Cola
            WeaponRestrictions  MeleeOnly
        }
                        TFBot
            {
                Template        T_TFBot_Scout_Crit_Cola_Melee
                ItemAttributes
                {
                    ItemName                                Crit-a-Cola
                    "effect cond override"                  66 [$SIGSEGV]   // Like the hidden thingy.
                    "mult effect duration"                  1.5 [$SIGSEGV]
                    "effect bar recharge rate increased"    0.5 [$SIGSEGV]
                }
            }

I have been told this affects all lunchbox items (bonk, cola and steak)