Entity Kill Counter Bonus
open class EntityKillCounterBonus(id: String, val name: String, entities: List<EntityType>, stat: Statistic, rewardTable: List<Int> = listOf(
0,
10,
25,
50,
100,
120,
130,
150,
220,
250,
300
), table: TreeMap<Int, Int> = TreeMap(
hashMapOf(
0 to 0,
10 to 1,
100 to 2,
250 to 3,
500 to 4,
1000 to 5,
2500 to 6,
5000 to 7,
8000 to 8,
12000 to 9,
15000 to 10
)
)) : AbilityBase(source)
Constructors
Link copied to clipboard
constructor(id: String, name: String, entities: List<EntityType>, stat: Statistic, rewardTable: List<Int> = listOf(
0,
10,
25,
50,
100,
120,
130,
150,
220,
250,
300
), table: TreeMap<Int, Int> = TreeMap(
hashMapOf(
0 to 0,
10 to 1,
100 to 2,
250 to 3,
500 to 4,
1000 to 5,
2500 to 6,
5000 to 7,
8000 to 8,
12000 to 9,
15000 to 10
)
))
Functions
Link copied to clipboard
Link copied to clipboard
Builds and inserts the ability name and descriptions in provided lore list
Link copied to clipboard
You have to override this function, and register listeners there (net.axay.kspigot.event.listen)), this is where all the ability logic is defined at
Properties
Link copied to clipboard
Cost to perform this ability
Link copied to clipboard
Description of this ability. Will later be partitioned for every 25 characters, not including MM tags
Link copied to clipboard
ID of this ability, got from the Registry.ABILITY)
Link copied to clipboard
Type of this ability, only used for visual lore display