MCPcopy Create free account
hub / github.com/crawl/crawl / _returning

Function _returning

crawl-ref/source/throw.cc:432–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430static void _player_shoot(ranged_attack_beam &pbolt);
431
432static bool _returning(const item_def &item)
433{
434 return item.is_type(OBJ_MISSILES, MI_BOOMERANG);
435}
436
437ranged_attack_beam::ranged_attack_beam(actor& agent, item_def& item)
438 : atk(ranged_attack(&agent, nullptr, &item))

Callers 2

_player_shootFunction · 0.85
mons_throwFunction · 0.85

Calls 1

is_typeMethod · 0.80

Tested by

no test coverage detected