<commit_before>import random
from fireplace.enums import Zone
from ..card import *


# Charge
class CS2_103(Card):
	action = buffTarget("CS2_103e")

class CS2_103e(Card):
	atk = 2
	charge = True


# Rampage
class CS2_104(Card):
	action = buffTarget("CS2_104e")

class CS2_104e(Card):
	atk = 3
	health = 3


# Heroic Strike
class CS2_105e(Card):
	action = buffSelf("CS2_105e")

class CS2_105e(Card):
	atk = 4


# Execute
class CS2_108(Card):
	action = destroyTarget


# Cleave
class CS2_114(Card):
	def action(self):
		targets = random.sample(self.controller.opponent.field, 2)
		for target in targets:
			target.damage(2)


# Slam
class EX1_391(Card):
	def action(self, target):
		target.damage(2)
		if target.zone == Zone.PLAY:
			self.controller.draw()


# Battle Rage
class EX1_392(Card):
	def action(self):
		for target in self.controller.getTargets(TARGET_FRIENDLY_CHARACTERS):
			if target.isDamaged():
				self.controller.draw()


# Whirlwind
class EX1_400(Card):
	def action(self):
		for target in self.controller.getTargets(TARGET_ALL_MINIONS):
			target.damage(1)


# Brawl
class EX1_407(Card):
	def action(self):
		board = self.controller.getTargets(TARGET_ALL_MINIONS)
		for minion in random.sample(board, len(board) - 1):
			minion.destroy()


# Mortal Strike
class EX1_408(Card):
	def action(self, target):
		target.damage(6 if self.controller.hero.health <= 12 else 4)


# Upgrade!
class EX1_409(Card):
	def action(self):
		if self.controller.hero.weapon:
			self.controller.hero.weapon.buff("EX1_409e")
			self.controller.hero.weapon.gainDurability()
		else:
			self.controller.summon("EX1_409t")

class EX1_409e(Card):
	atk = 1


# Shield Slam
class EX1_410(Card):
	def action(self, target):
		target.damage(self.controller.hero.armor)


# Shield Block
class EX1_606(Card):
	def action(self):
		self.controller.hero.gainArmor(5)
		self.controller.draw()


# Inner Rage
class EX1_607(Card):
	def action(self, target):
		target.buff("EX1_607e")
		target.damage(1)

class EX1_607e(Card):
	atk = 2
<commit_msg>Do not grant the old, deprecated Charge buff on CS2_103<commit_after>import random
from fireplace.enums import Zone
from ..card import *


# Charge
class CS2_103(Card):
	action = buffTarget("CS2_103e2")

class CS2_103e2(Card):
	atk = 2
	charge = True


# Rampage
class CS2_104(Card):
	action = buffTarget("CS2_104e")

class CS2_104e(Card):
	atk = 3
	health = 3


# Heroic Strike
class CS2_105e(Card):
	action = buffSelf("CS2_105e")

class CS2_105e(Card):
	atk = 4


# Execute
class CS2_108(Card):
	action = destroyTarget


# Cleave
class CS2_114(Card):
	def action(self):
		targets = random.sample(self.controller.opponent.field, 2)
		for target in targets:
			target.damage(2)


# Slam
class EX1_391(Card):
	def action(self, target):
		target.damage(2)
		if target.zone == Zone.PLAY:
			self.controller.draw()


# Battle Rage
class EX1_392(Card):
	def action(self):
		for target in self.controller.getTargets(TARGET_FRIENDLY_CHARACTERS):
			if target.isDamaged():
				self.controller.draw()


# Whirlwind
class EX1_400(Card):
	def action(self):
		for target in self.controller.getTargets(TARGET_ALL_MINIONS):
			target.damage(1)


# Brawl
class EX1_407(Card):
	def action(self):
		board = self.controller.getTargets(TARGET_ALL_MINIONS)
		for minion in random.sample(board, len(board) - 1):
			minion.destroy()


# Mortal Strike
class EX1_408(Card):
	def action(self, target):
		target.damage(6 if self.controller.hero.health <= 12 else 4)


# Upgrade!
class EX1_409(Card):
	def action(self):
		if self.controller.hero.weapon:
			self.controller.hero.weapon.buff("EX1_409e")
			self.controller.hero.weapon.gainDurability()
		else:
			self.controller.summon("EX1_409t")

class EX1_409e(Card):
	atk = 1


# Shield Slam
class EX1_410(Card):
	def action(self, target):
		target.damage(self.controller.hero.armor)


# Shield Block
class EX1_606(Card):
	def action(self):
		self.controller.hero.gainArmor(5)
		self.controller.draw()


# Inner Rage
class EX1_607(Card):
	def action(self, target):
		target.buff("EX1_607e")
		target.damage(1)

class EX1_607e(Card):
	atk = 2

{'fraction_non_alphanumeric': 0.12396088019559902, 'fraction_numerical': 0.05867970660146699, 'mean_word_length': 4.5584239130434785, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2998438', 'n_tokens_mistral': 1804, 'n_tokens_neox': 1557, 'n_words': 337}