<commit_before>from ..utils import *


##
# Minions

# Mistress of Pain
class GVG_018:
	events = [
		Damage().on(
			lambda self, source, target, amount: source is self and [Heal(FRIENDLY_HERO, amount)] or []
		)
	]


# Fel Cannon
class GVG_020:
	events = [
		OWN_TURN_END.on(Hit(RANDOM(ALL_MINIONS - MECH), 2))
	]


# Anima Golem
class GVG_077:
	events = [
		TURN_END.on(
			lambda self, player: self.controller.field != [self] and [Destroy(SELF)] or []
		)
	]


# Floating Watcher
class GVG_100:
	events = [
		Damage(FRIENDLY_HERO).on(
			lambda self, target, amount, source: self.controller.current_player and [Buff(SELF, "GVG_100e")] or []
		)
	]
<commit_msg>Fix argument ordering in Mistress of Pain<commit_after>from ..utils import *


##
# Minions

# Mistress of Pain
class GVG_018:
	events = [
		Damage().on(
			lambda self, target, amount, source: source is self and [Heal(FRIENDLY_HERO, amount)] or []
		)
	]


# Fel Cannon
class GVG_020:
	events = [
		OWN_TURN_END.on(Hit(RANDOM(ALL_MINIONS - MECH), 2))
	]


# Anima Golem
class GVG_077:
	events = [
		TURN_END.on(
			lambda self, player: self.controller.field != [self] and [Destroy(SELF)] or []
		)
	]


# Floating Watcher
class GVG_100:
	events = [
		Damage(FRIENDLY_HERO).on(
			lambda self, target, amount, source: self.controller.current_player and [Buff(SELF, "GVG_100e")] or []
		)
	]

{'fraction_non_alphanumeric': 0.1344165435745938, 'fraction_numerical': 0.023633677991137372, 'mean_word_length': 3.754385964912281, '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': '4913827', 'n_tokens_mistral': 608, 'n_tokens_neox': 541, 'n_words': 128}