Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger traps after ranged_pull mattack #37236

Merged
merged 1 commit into from
Jan 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/monattack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2607,6 +2607,9 @@ bool mattack::ranged_pull( monster *z )
g->draw();
}
}
// The monster might drag a target that's not on it's z level
// So if they leave them on open air, make them fall
g->m.creature_on_trap( *target );
if( seen ) {
if( z->type->bodytype == "human" || z->type->bodytype == "angel" ) {
add_msg( _( "The %1$s's arms fly out and pull and grab %2$s!" ), z->name(),
Expand Down