mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Buff item hitbox size
I was gonna hold off for v2 to do this, but frankly... this is too good to have. Honestly I think this is a big buff for karma items... people unable to hit as bombs will have a LOT less trouble as item.
This commit is contained in:
parent
919667ed39
commit
188c0164b6
2 changed files with 6 additions and 6 deletions
|
@ -14856,8 +14856,8 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_kc2e, // deathsound
|
||||
60*FRACUNIT, // speed
|
||||
36*FRACUNIT, // radius
|
||||
36*FRACUNIT, // height
|
||||
48*FRACUNIT, // radius
|
||||
48*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
MT_RANDOMITEMPOP, // damage
|
||||
|
@ -14910,8 +14910,8 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
S_NULL, // xdeathstate
|
||||
sfx_itpick, // deathsound
|
||||
0, // speed
|
||||
24*FRACUNIT, // radius
|
||||
24*FRACUNIT, // height
|
||||
32*FRACUNIT, // radius
|
||||
32*FRACUNIT, // height
|
||||
0, // display offset
|
||||
100, // mass
|
||||
0, // damage
|
||||
|
|
|
@ -6362,7 +6362,7 @@ void P_RunShadows(void)
|
|||
}
|
||||
|
||||
if (mobj->target->type == MT_FLOATINGITEM)
|
||||
P_SetScale(mobj, mobj->scale/2);
|
||||
P_SetScale(mobj, mobj->scale/3);
|
||||
}
|
||||
P_SetTarget(&shadowcap, NULL);
|
||||
}
|
||||
|
@ -8490,7 +8490,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
|
||||
// Give items an item-sized hitbox
|
||||
if (mobj->target->player->kartstuff[k_comebackmode] == 1)
|
||||
mobj->radius = 36*mobj->target->scale;
|
||||
mobj->radius = 48*mobj->target->scale;
|
||||
else
|
||||
mobj->radius = 24*mobj->target->scale;
|
||||
mobj->height = 2*mobj->radius;
|
||||
|
|
Loading…
Reference in a new issue