/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | mon-speak.cc | 361 if (mons->wont_attack()) in maybe_mons_speaks() 404 && mon.wont_attack() in _get_foe() 499 if (!foe || foe->is_player() || mons->wont_attack()) in mons_speaks() 573 || (!mons->wont_attack() in mons_speaks() 795 || (!mon.wont_attack() in invalid_msg()
|
H A D | dactions.cc | 92 return mon->wont_attack() && mons_is_god_gift(*mon, GOD_BEOGH); in mons_matches_daction() 101 return mon->wont_attack() && mons_is_god_gift(*mon, GOD_HEPLIAKLQANA); in mons_matches_daction()
|
H A D | fight.cc | 239 if (attacker->as_monster()->wont_attack() in fight_melee() 774 return attacker.wont_attack(); in _dont_harm() 778 return defender.wont_attack() in _dont_harm() 1081 else if (mon->wont_attack()) in bad_attack()
|
H A D | teleport.cc | 120 const bool respect_sanctuary = mon.wont_attack(); in _random_monster_nearby_habitable_space() 252 if (!_monster_random_space(mons, newpos, !mons->wont_attack())) in monster_teleport()
|
H A D | mon-act.cc | 224 if (mover.wont_attack() == moved.wont_attack() in _swap_monsters() 290 return !mon.wont_attack() || mon.has_ench(ENCH_INSANE) || mon.confused(); in _unfriendly_or_impaired() 548 if (!mon.wont_attack() && is_sanctuary(mon.pos())) in _fungal_move_check() 1766 && !mons->wont_attack()) in handle_monster_move() 1879 if (!mons->wont_attack()) in handle_monster_move() 2113 && !mons->wont_attack() in _ancient_zyme_sicken() 2833 && !mons->wont_attack()) in mon_can_move_to_pos() 3373 && (newpos == you.pos() && mons->wont_attack() in _monster_move() 3374 || (mon2 && mons->wont_attack() == mon2->wont_attack()))) in _monster_move()
|
H A D | fearmonger.cc | 178 && !mon->wont_attack() && !mon->pacified() in _possible_fearmonger()
|
H A D | decks.cc | 981 const bool hostile = !mon.wont_attack(); in _velocity_card() 1117 return !mons.wont_attack() in _damaging_card() 1389 if (!mons || mons->wont_attack() || !mons_is_threatening(*mons)) in _cloud_card() 1507 if (mons.wont_attack() || !mons_is_threatening(mons)) in _degeneration_card() 1544 if (!mons || mons->wont_attack() || !mons_is_threatening(*mons)) in _wild_magic_card()
|
H A D | xom.cc | 716 return mon.alive() && !mon.wont_attack() in _choose_enchantable_monster() 1001 if (mi->wont_attack() || one_chance_in(20)) in _xom_confuse_monsters() 1109 const bool powerup = !(mons.wont_attack() ^ helpful); in _xom_polymorph_monster() 1343 if (mi->wont_attack() || mi->is_summoned() in _find_monster_with_animateable_weapon() 1719 || mi->wont_attack() && !_xom_feels_nasty())) in _xom_destruction() 2647 return !mon.wont_attack() in _mon_valid_blink_victim() 2831 && mon_nearby([](monster& mon){ return !mon.wont_attack(); })) in _xom_choose_good_action() 2887 && (!mi->wont_attack() || _xom_feels_nasty())) in _xom_choose_good_action() 2932 if (mon && !mon->wont_attack()) in _xom_choose_good_action()
|
H A D | mon-behv.cc | 260 bool wontAttack = mon->wont_attack() && !mon->has_ench(ENCH_INSANE); in handle_behaviour() 266 if (proxPlayer && crawl_state.disables[DIS_MON_SIGHT] && !mon->wont_attack()) in handle_behaviour() 375 && wontAttack && env.mons[mon->foe].wont_attack()) in handle_behaviour() 1287 && mon->foe == MHITYOU && !mon->wont_attack()) in behaviour_event()
|
H A D | behold.cc | 255 && !mon->wont_attack() && !mon->pacified() in possible_beholder()
|
H A D | l-mons.cc | 200 MDEF(wont_attack) in MDEF() argument 203 lua_pushboolean(ls, mons->wont_attack()); in MDEF()
|
H A D | spl-damage.cc | 571 return !(agent->is_player() && act->wont_attack() in _drain_lifeable() 572 || mons && act->is_player() && mons->wont_attack() in _drain_lifeable() 812 if (mons->wont_attack()) in _cast_los_attack_spell() 859 && !m->wont_attack() in _cast_los_attack_spell() 1598 * (victim->wont_attack() ? -1 : 1); in mons_shatter() 1609 if (!caster->wont_attack()) in mons_shatter() 2174 && !ai->as_monster()->wont_attack() in get_ignition_blast_sources() 2245 && act->as_monster()->wont_attack()))) in cast_ignition() 3584 && !m.wont_attack(); in _maxwells_target_check()
|
H A D | nearby-danger.cc | 122 return (mon->wont_attack() && !mons_blows_up(*mon)) in _mons_is_always_safe()
|
H A D | evoke.cc | 913 if (!mons || mons->wont_attack() || !mons_is_threatening(*mons)) in _condenser() 923 && !(act && act->wont_attack())) in _condenser()
|
H A D | actor.h | 392 virtual bool wont_attack() const = 0;
|
H A D | mon-cast.cc | 2496 if (!caster.wont_attack() && _near_visible_wall(caster, you)) in _cast_creeping_frost() 2561 if (!caster.wont_attack() && _near_visible_lava(caster, you)) in _cast_pyroclastic_surge() 2593 if (caster.wont_attack()) in _still_winds_goodness() 3881 if (mons.wont_attack() && !mon_enemies_around(&mons) && !one_chance_in(10)) in _choose_spell_to_cast() 3928 if (is_sanctuary(mons->pos()) && !mons->wont_attack()) in handle_mon_spell() 4454 && !mons->wont_attack() in _mons_cause_fear() 4537 && !mons->wont_attack()) in _mons_mass_confuse() 4877 mprf(mons->wont_attack() ? MSGCH_FRIEND_ENCHANT in _branch_summon_helper() 5102 mprf(mons->wont_attack() ? MSGCH_FRIEND_ENCHANT in _spell_charged() 6738 if (!mons->wont_attack()) in _speech_fill_target() [all …]
|
H A D | mon-death.cc | 724 if (mons->wont_attack() in _ely_heal_monster() 2115 if (!mons.wont_attack() && !crawl_state.game_is_arena()) in monster_die() 2475 if (you.duration[DUR_FLAYED] && !ghost->wont_attack()) in end_flayed_effect() 2660 harmful ? mons_is_threatening(**mi) && !mi->wont_attack() : in dismiss_monsters()
|
H A D | spl-util.cc | 1598 if (mons && !mons->wont_attack() && mons_is_threatening(*mons)) in spell_no_hostile_in_range() 1635 if (mon != nullptr && !mon->wont_attack()) in spell_no_hostile_in_range()
|
H A D | god-passive.cc | 1371 return !(mons->wont_attack() in _can_attack_martial() 1673 if (mons->wont_attack()) in _bond_audience()
|
H A D | areas.cc | 461 else if (!mon->wont_attack() && mons_is_influenced_by_sanctuary(*mon)) in create_sanctuary()
|
H A D | view.cc | 483 || mon->wont_attack() in _maybe_gozag_incite() 840 else if (mons->wont_attack()) in mon_enemies_around()
|
H A D | monster.h | 446 bool wont_attack() const override;
|
H A D | player-reacts.cc | 738 if (mi->type == MONS_FLAYED_GHOST && !mi->wont_attack() in _decrement_durations()
|
H A D | movement.cc | 946 && (targ_monst->wont_attack() in move_player_action()
|
H A D | delay.cc | 1094 && !mon->wont_attack() in _monster_warning()
|