package com.ghost.technic.server.card.keyword.impl;

import com.ghost.technic.server.card.keyword.KeywordEffect;
import com.ghost.technic.server.card.playable.usable.impl.CreatureCard;
import com.ghost.technic.server.game.GameActionService;

public class PoisonEffect implements KeywordEffect {
    @Override
    public void onFight(GameActionService service, CreatureCard attacker, CreatureCard defender) {
        // Any damage dealt by this creature destroys the other
        service.markAsPoisonous(attacker);
    }
}
