Skip to content

Commit

Permalink
Stub out Corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
miketwo committed Sep 2, 2024
1 parent 4ca569d commit 6c5c378
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,18 @@ def callback(self, message, data):
if card.type == CardType.SKILL:
ei.apply_effect(origin, None, Strength, self.amount)

class Corruption(Effect):
registers = [Message.ON_CARD_PLAY]
def __init__(self, host, amount):
super().__init__(host, "Corruption", StackType.INTENSITY, EffectType.BUFF, "Whenever you play a Skill, exhaust it.", amount)

def callback(self, message, data):
if message == Message.ON_CARD_PLAY:
origin, card, target = data
if card.type == CardType.SKILL:
# TODO: Exhaust the card
pass

class EffectInterface:
"""Responsible for applying effects, creating buff/debuff dictionaries, and counting down certain effects"""
def __init__(self):
Expand Down

0 comments on commit 6c5c378

Please sign in to comment.