Пример #1
0
	/**
	 * Returns true if the unit is currently under effect by an ability with this given TAG NAME.
	 * This means that the ability could be owned by the unit itself, or by an adjacent unit.
	 */
	bool get_ability_bool(const std::string &tag_name, const display_context& dc) const
	{ return get_ability_bool(tag_name, loc_, dc); }
Пример #2
0
	/**
	 * Returns true if the unit is currently under effect by an ability with this given TAG NAME.
	 * This means that the ability could be owned by the unit itself, or by an adjacent unit.
	 */
	bool get_ability_bool(const std::string &tag_name) const
	{ return get_ability_bool(tag_name, loc_); }
Пример #3
0
 bool get_ability_bool(const std::string &ability) const
 {
     return get_ability_bool(ability, loc_);
 }