RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
AntifireDetails.java
1package com.osroyale.game.world.entity.combat.effect;
2
3import com.osroyale.util.MutableNumber;
4
29
30public final class AntifireDetails {
31
32 private final MutableNumber antifireDelay = new MutableNumber(600);
33
34 private final AntifireType type;
35
36 public AntifireDetails(AntifireType type) {
37 this.type = type;
38 }
39
40 public MutableNumber getAntifireDelay() {
41 return antifireDelay;
42 }
43
44 public AntifireType getType() {
45 return type;
46 }
47
48public enum AntifireType {
49 REGULAR(45),
50 SUPER(90);
51
52 final int reduction;
53
54 AntifireType(int reduction) {
55 this.reduction = reduction;
56 }
57
58 public int getReduction() {
59 return reduction;
60 }
61 }
62
63}