-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathZulrahMinion.java
More file actions
49 lines (33 loc) · 1.02 KB
/
ZulrahMinion.java
File metadata and controls
49 lines (33 loc) · 1.02 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
package com.rs;
/**
* @author -Andreas 11 feb. 2020 18:32:37
* @project 1. Avalon
*
*/
public class ZulrahMinion extends Zulrah {
//JAD or MELEE = instant spawn minion, no spawn animation
public enum MinionData {
ALPHA_SPAWN(SpawnLocation.WEST, true),
ALPHA_SPAWN_2(SpawnLocation.EAST),
ALPHA_SPAWN_3(SpawnLocation.EAST, 4),
ALPHA_SPAWN_4(SpawnLocation.WEST, 3),
ALPHA_SPAWN_5(SpawnLocation.WEST, 1);
private int amount;
private boolean afterAttack;
private SpawnLocation location;
private MinionData(SpawnLocation location) {
this(location, false, 2);
}
private MinionData(SpawnLocation location, boolean afterAttack) {
this(location, afterAttack, 2);
}
private MinionData(SpawnLocation location, int amount) {
this(location, false, amount);
}
private MinionData(SpawnLocation location, boolean afterAttack, int amount) {
this.location = location;
this.afterAttack = afterAttack;
this.amount = amount;
}
}
}