Update plugin descriptions and minor xp drop bugfix

This commit is contained in:
ceikry 2022-07-10 19:33:10 -05:00 committed by Ceikry
parent 54b426f72d
commit 1890fe8087
6 changed files with 15 additions and 9 deletions

View file

@ -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

View file

@ -1,4 +1,3 @@
AUTHOR='Ceikry'
DESCRIPTION='Draws some info about varp changes on the screen.'
VERSION=-1.0
VERSION=1.0

View file

@ -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

View file

@ -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

View file

@ -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 {

View file

@ -1,3 +1,3 @@
AUTHOR='Ceikry'
DESCRIPTION='Displays some pretty awesome XP drops :)'
VERSION=-1.1
VERSION=1.1