<commit_before>package land.face.strife.data.effects;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import land.face.strife.data.StrifeMob;
import land.face.strife.data.conditions.Condition;
import land.face.strife.stats.StrifeStat;

public abstract class Effect {

  private String id;
  private boolean forceTargetCaster;
  private boolean friendly;

  private final Map<StrifeStat, Float> statMults = new HashMap<>();
  private final Set<Condition> conditions = new HashSet<>();

  public void apply(StrifeMob caster, StrifeMob target) {

  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public boolean isForceTargetCaster() {
    return forceTargetCaster;
  }

  public void setForceTargetCaster(boolean forceTargetCaster) {
    this.forceTargetCaster = forceTargetCaster;
  }

  public boolean isFriendly() {
    return friendly;
  }

  public void setFriendly(boolean friendly) {
    this.friendly = friendly;
  }

  public Map<StrifeStat, Float> getStatMults() {
    return statMults;
  }

  public void setStatMults(Map<StrifeStat, Float> statMults) {
    this.statMults.clear();
    this.statMults.putAll(statMults);
  }

  public void addCondition(Condition condition) {
    conditions.add(condition);
  }

  public Set<Condition> getConditions() {
    return conditions;
  }

  public enum EffectType {
    STANDARD_DAMAGE,
    DAMAGE,
    WORLD_SPACE_ENTITY,
    AREA_EFFECT,
    ENDLESS_EFFECT,
    CANCEL_ENDLESS_EFFECT,
    REVIVE,
    HEAL,
    FOOD,
    COOLDOWN_REDUCTION,
    RESTORE_BARRIER,
    INCREASE_RAGE,
    PROJECTILE,
    EQUIPMENT_SWAP,
    EVOKER_FANGS,
    FALLING_BLOCK,
    IGNITE,
    SILENCE,
    BLEED,
    TELEPORT,
    CORRUPT,
    ADD_EARTH_RUNES,
    CONSUME_BLEED,
    CONSUME_CORRUPT,
    BUFF_EFFECT,
    WAIT,
    SOUND,
    PARTICLE,
    SPEAK,
    PUSH,
    LIGHTNING,
    MODIFY_PROJECTILE,
    POTION,
    TARGET,
    SUMMON,
    CHARM
  }
}<commit_msg>SET_FALL enum<commit_after>package land.face.strife.data.effects;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import land.face.strife.data.StrifeMob;
import land.face.strife.data.conditions.Condition;
import land.face.strife.stats.StrifeStat;

public abstract class Effect {

  private String id;
  private boolean forceTargetCaster;
  private boolean friendly;

  private final Map<StrifeStat, Float> statMults = new HashMap<>();
  private final Set<Condition> conditions = new HashSet<>();

  public void apply(StrifeMob caster, StrifeMob target) {

  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public boolean isForceTargetCaster() {
    return forceTargetCaster;
  }

  public void setForceTargetCaster(boolean forceTargetCaster) {
    this.forceTargetCaster = forceTargetCaster;
  }

  public boolean isFriendly() {
    return friendly;
  }

  public void setFriendly(boolean friendly) {
    this.friendly = friendly;
  }

  public Map<StrifeStat, Float> getStatMults() {
    return statMults;
  }

  public void setStatMults(Map<StrifeStat, Float> statMults) {
    this.statMults.clear();
    this.statMults.putAll(statMults);
  }

  public void addCondition(Condition condition) {
    conditions.add(condition);
  }

  public Set<Condition> getConditions() {
    return conditions;
  }

  public enum EffectType {
    STANDARD_DAMAGE,
    DAMAGE,
    WORLD_SPACE_ENTITY,
    AREA_EFFECT,
    ENDLESS_EFFECT,
    CANCEL_ENDLESS_EFFECT,
    REVIVE,
    HEAL,
    FOOD,
    COOLDOWN_REDUCTION,
    RESTORE_BARRIER,
    INCREASE_RAGE,
    PROJECTILE,
    EQUIPMENT_SWAP,
    EVOKER_FANGS,
    FALLING_BLOCK,
    IGNITE,
    SILENCE,
    BLEED,
    TELEPORT,
    CORRUPT,
    ADD_EARTH_RUNES,
    CONSUME_BLEED,
    CONSUME_CORRUPT,
    BUFF_EFFECT,
    SET_FALL,
    WAIT,
    SOUND,
    PARTICLE,
    SPEAK,
    PUSH,
    LIGHTNING,
    MODIFY_PROJECTILE,
    POTION,
    TARGET,
    SUMMON,
    CHARM
  }
}
{'fraction_non_alphanumeric': 0.08737623762376237, 'fraction_numerical': 0.0, 'mean_word_length': 3.276190476190476, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '3518406', 'n_tokens_mistral': 1478, 'n_tokens_neox': 1434, 'n_words': 288}