File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,10 @@ qboolean IsMorphedPlayer(const edict_t *ent) {
148
148
|| ent -> mtype == MORPH_BERSERK || ent -> mtype == M_MYPARASITE );
149
149
}
150
150
151
+ qboolean IsMonster (const edict_t * ent ) {
152
+ return (ent -> mtype && (ent -> mtype <= M_TANK || ent -> mtype == M_SHAMBLER ));
153
+ }
154
+
151
155
float vrx_get_pack_modifier (const edict_t * ent ) {
152
156
//Talent: Pack Animal
153
157
int talentLevel = 0 ;
@@ -175,10 +179,9 @@ float vrx_get_pack_modifier(const edict_t *ent) {
175
179
// must be on our team
176
180
if (!OnSameTeam (ent , e ))
177
181
continue ;
178
- // must be morphed
179
- if (!IsMorphedPlayer (e ))
180
- continue ;
181
- return 1.0f + 0.1f * talentLevel ; // +10% per level
182
+ // must be player or standard, non-boss monster/drone
183
+ if (e -> client || IsMorphedPlayer (e ) || IsMonster (e ))
184
+ return 1.0f + 0.2f * talentLevel ; // +20% per level
182
185
}
183
186
184
187
return 1.0 ;
You can’t perform that action at this time.
0 commit comments