AbilityModifierEntry.java 885 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package emu.grasscutter.data.custom;

import java.util.ArrayList;
import java.util.List;

import emu.grasscutter.data.custom.AbilityModifier.AbilityModifierAction;

public class AbilityModifierEntry {
	private String name; // Custom value
	public List<AbilityModifierAction> onModifierAdded;
	public List<AbilityModifierAction> onThinkInterval;
	public List<AbilityModifierAction> onRemoved;
	
	public AbilityModifierEntry(String name) {
		this.name = name;
		this.onModifierAdded = new ArrayList<>();
		this.onThinkInterval = new ArrayList<>();
		this.onRemoved = new ArrayList<>();
	}
	
	public String getName() {
		return name;
	}

	public List<AbilityModifierAction> getOnAdded() {
		return onModifierAdded;
	}

	public List<AbilityModifierAction> getOnThinkInterval() {
		return onThinkInterval;
	}

	public List<AbilityModifierAction> getOnRemoved() {
		return onRemoved;
	}
	
}