RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.shootingstar.ShootingStarData Class Reference
Collaboration diagram for com.osroyale.content.shootingstar.ShootingStarData:

Public Member Functions

void decreaseDust (Player player)
void decreaseLevel ()
void destruct ()
int getLevel ()
int getObjectId ()
int getMiningLevel ()
int getPercentage ()
int getXPDrop ()
String getLocationName ()
String getHint ()

Public Attributes

ShootingStarLocations starLocation
int starLevel
int availableDust
int maxDust
int[] starIds = { 41229, 41228, 41227, 41226, 41225, 41224, 41223, 41021, }
int[] possibleDust = { 1200, 700, 430, 250, 175, 80, 40, 40, 15 }
int[] xpDrops = { 12, 22, 26, 31, 48, 74, 123, 162, 244 }
CustomGameObject starObject
int[] doubleChance = { 2, 6, 12, 20, 30, 42, 56, 72, 90 }

Detailed Description

Definition at line 48 of file ShootingStarData.java.

Member Function Documentation

◆ decreaseDust()

void com.osroyale.content.shootingstar.ShootingStarData.decreaseDust ( Player player)
inline

Handles decreasing the dust for a star

Definition at line 114 of file ShootingStarData.java.

◆ decreaseLevel()

void com.osroyale.content.shootingstar.ShootingStarData.decreaseLevel ( )
inline

Handles the decreasing of the star level

Definition at line 141 of file ShootingStarData.java.

◆ destruct()

void com.osroyale.content.shootingstar.ShootingStarData.destruct ( )
inline

Handles removing the star from the game

Definition at line 156 of file ShootingStarData.java.

◆ getHint()

String com.osroyale.content.shootingstar.ShootingStarData.getHint ( )
inline

The current hint of the star location

Returns

Definition at line 220 of file ShootingStarData.java.

◆ getLevel()

int com.osroyale.content.shootingstar.ShootingStarData.getLevel ( )
inline

Gets the random star level

Returns

Definition at line 165 of file ShootingStarData.java.

◆ getLocationName()

String com.osroyale.content.shootingstar.ShootingStarData.getLocationName ( )
inline

The current location of the star

Returns

Definition at line 212 of file ShootingStarData.java.

◆ getMiningLevel()

int com.osroyale.content.shootingstar.ShootingStarData.getMiningLevel ( )
inline

The required mining level for the star level

Returns

Definition at line 188 of file ShootingStarData.java.

◆ getObjectId()

int com.osroyale.content.shootingstar.ShootingStarData.getObjectId ( )
inline

The current object id

Returns

Definition at line 180 of file ShootingStarData.java.

◆ getPercentage()

int com.osroyale.content.shootingstar.ShootingStarData.getPercentage ( )
inline

Percentage till the next star level

Returns

Definition at line 196 of file ShootingStarData.java.

◆ getXPDrop()

int com.osroyale.content.shootingstar.ShootingStarData.getXPDrop ( )
inline

The xp the player gets for the current star

Returns

Definition at line 204 of file ShootingStarData.java.

Member Data Documentation

◆ availableDust

int com.osroyale.content.shootingstar.ShootingStarData.availableDust

How much dust there currently is in the star

Definition at line 68 of file ShootingStarData.java.

◆ doubleChance

int [] com.osroyale.content.shootingstar.ShootingStarData.doubleChance = { 2, 6, 12, 20, 30, 42, 56, 72, 90 }

The chance of doubling stardust depending on the star level

Definition at line 98 of file ShootingStarData.java.

◆ maxDust

int com.osroyale.content.shootingstar.ShootingStarData.maxDust

The max dust for this star level

Definition at line 73 of file ShootingStarData.java.

◆ possibleDust

int [] com.osroyale.content.shootingstar.ShootingStarData.possibleDust = { 1200, 700, 430, 250, 175, 80, 40, 40, 15 }

The amount of star dust the player receives for the different star levels

Definition at line 83 of file ShootingStarData.java.

◆ starIds

int [] com.osroyale.content.shootingstar.ShootingStarData.starIds = { 41229, 41228, 41227, 41226, 41225, 41224, 41223, 41021, }

All the possible object ids for the different star levels

Definition at line 78 of file ShootingStarData.java.

◆ starLevel

int com.osroyale.content.shootingstar.ShootingStarData.starLevel

The current level of the star

Definition at line 63 of file ShootingStarData.java.

◆ starLocation

ShootingStarLocations com.osroyale.content.shootingstar.ShootingStarData.starLocation

The current location of the star

Definition at line 58 of file ShootingStarData.java.

◆ starObject

CustomGameObject com.osroyale.content.shootingstar.ShootingStarData.starObject

The game object linked to the star

Definition at line 93 of file ShootingStarData.java.

◆ xpDrops

int [] com.osroyale.content.shootingstar.ShootingStarData.xpDrops = { 12, 22, 26, 31, 48, 74, 123, 162, 244 }

Possible xp drops for the differernt star levels

Definition at line 88 of file ShootingStarData.java.


The documentation for this class was generated from the following file: