All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.game.dungeons.pass_condition.ConditionKillGroupMonster Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
package emu.grasscutter.game.dungeons.pass_condition;

import emu.grasscutter.data.excels.dungeon.DungeonPassConfigData;
import emu.grasscutter.game.dungeons.DungeonValue;
import emu.grasscutter.game.dungeons.enums.DungeonPassConditionType;
import emu.grasscutter.game.dungeons.handlers.DungeonBaseHandler;

@DungeonValue(DungeonPassConditionType.DUNGEON_COND_KILL_GROUP_MONSTER)
public class ConditionKillGroupMonster extends DungeonBaseHandler {

    @Override
    public boolean execute(DungeonPassConfigData.DungeonPassCondition condition, int... params) {
        return params[0] == condition.getParam()[0];
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy