<commit_before>"""
Base game rules (events, etc)
"""
from .actions import Attack, Damage, Destroy, Hit
from .dsl.selector import FRIENDLY_HERO, MINION, SELF


POISONOUS = Damage(MINION, None, SELF).on(Destroy(Damage.TARGETS))


class WeaponRules:
	base_events = [
		Attack(FRIENDLY_HERO).on(Hit(SELF, 1))
	]<commit_msg>Move Weapon durability hits to Attack.after()<commit_after>"""
Base game rules (events, etc)
"""
from .actions import Attack, Damage, Destroy, Hit
from .dsl.selector import FRIENDLY_HERO, MINION, SELF


POISONOUS = Damage(MINION, None, SELF).on(Destroy(Damage.TARGETS))


class WeaponRules:
	base_events = [
		Attack(FRIENDLY_HERO).after(Hit(SELF, 1))
	]
{'fraction_non_alphanumeric': 0.13224368499257058, 'fraction_numerical': 0.0029717682020802376, 'mean_word_length': 5.808080808080808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4074619', 'n_tokens_mistral': 271, 'n_tokens_neox': 254, 'n_words': 61}