alterwain 8c14b04ee4
All checks were successful
gitea/JBunker/pipeline/head This commit looks good
Changed action cards logic. x14
2025-04-13 04:22:18 +03:00

14 lines
464 B
Java

package com.alterdekim.javabot.bot.conditions;
import com.alterdekim.javabot.Constants;
import com.alterdekim.javabot.components.BunkerBot;
import org.telegram.telegrambots.meta.api.methods.send.SendMessage;
public class MedicalSupply implements ConditionCard {
@Override
public void executeCard(BunkerBot bot, String chatId) {
bot.liveFormula.add(5.0d / 100.0d);
bot.sendApi(new SendMessage(chatId, Constants.MEDS_SUPPLY_COND));
}
}