mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Update plugin descriptions and minor xp drop bugfix
This commit is contained in:
parent
54b426f72d
commit
1890fe8087
6 changed files with 15 additions and 9 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
AUTHOR='Ceikry'
|
||||
DESCRIPTION='Enables visual display of component children and a log of interface-related varps.'
|
||||
VERSION=-1.1
|
||||
VERSION=1.1
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
AUTHOR='Ceikry'
|
||||
DESCRIPTION='Draws some info about varp changes on the screen.'
|
||||
VERSION=-1.0
|
||||
VERSION=1.0
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@ import rt4.Sprite
|
|||
import java.awt.Color
|
||||
import java.lang.Exception
|
||||
|
||||
/**
|
||||
* Very simple slayer task tracker
|
||||
* @author Ceikry
|
||||
*/
|
||||
class plugin : Plugin() {
|
||||
val boxColor = 6116423
|
||||
val posX = 5
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
AUTHOR='Me'
|
||||
DESCRIPTION='Make sure to rename both the MyPlugin folder and the package statement in plugin.java!
|
||||
VERSION=-1.1
|
||||
AUTHOR='Ceikry'
|
||||
DESCRIPTION='Helps to keep track of kills remaining on a slayer task.'
|
||||
VERSION=1.1
|
||||
|
|
|
|||
|
|
@ -59,6 +59,11 @@ class plugin : Plugin() {
|
|||
val gain = xp - lastXp[skill]
|
||||
if (gain <= 0) return
|
||||
|
||||
if (lastXp[skill] == 0) {
|
||||
lastXp[skill] = xp
|
||||
totalXp += xp
|
||||
return
|
||||
}
|
||||
lastXp[skill] = xp
|
||||
|
||||
val currentTail = try {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
AUTHOR='Ceikry'
|
||||
DESCRIPTION='Displays some pretty awesome XP drops :)'
|
||||
VERSION=-1.1
|
||||
VERSION=1.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue