So this code is still incomplete, but I should have it working soon if I can get some help...
The idea is that the new pets are so OP that while running a dungeon lets say Abyss that you could almost pop your
abilility constantly. The code will check to see if you are in an abyss and that you are a pally, priest, or rogue before moving on.
If you meet these then the ability is spammed.
What I have so far:
Code:
; Check to see if you are in one of the desired Dungeons
getlex QName(PackageNamespace(""), "map")
getproperty QName(PackageNamespace(""), "name_")
setlocal
getlocal
pushstring "Abyss of Demons"
ifeq CLASS
jump DONE
; Check to see what class you are using
CLASS:
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "player_")
getproperty QName(PackageNamespace(""), "objectType_")
pushint 784 ; Priest
ifeq LOOP
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "player_")
getproperty QName(PackageNamespace(""), "objectType_")
pushint 768 ; Rogue
ifeq LOOP
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "player_")
getproperty QName(PackageNamespace(""), "objectType_")
pushint 799 ; Paladin
ifeq LOOP
jump DONE
Inserted here com.company.assembleegameclient.objectslayer/update function, just before the returnvalue instruction at the end
Any help would be awesome! If we get this we can transition into auto potting as well.