Skip to content

z_player Melee attack related functions#2737

Open
djevangelia wants to merge 3 commits into
zeldaret:mainfrom
djevangelia:melee
Open

z_player Melee attack related functions#2737
djevangelia wants to merge 3 commits into
zeldaret:mainfrom
djevangelia:melee

Conversation

@djevangelia
Copy link
Copy Markdown

Melee functions, states etc.

Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread include/actor.h Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment thread src/overlays/actors/ovl_player_actor/z_player.c Outdated
Comment on lines +9182 to +9184
//! @bug FLOOR_TYPE_6 (no fall damage), for instance Gerudo Fortress exterior walking areas,
//! causes melee weapon to not collide properly, such as Hammer vs the Gerudo staircase
//! (continues through the floor).
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this is a bug? or rather, that this is the right location for the bug comment?
it may just be that they intended for FLOOR_TYPE_6 to be "soft stuff" like hay, in which case it makes sense for attacks to go through, but then they forgot when using it on some floors

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I guess that's valid. I'd still somehow like to have it documented, that no fall damage floor type also has no melee collision. In bgcheck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants