Page 1 of 1

[EasyUO] rearming weapon abilities

Posted: Sun Mar 13, 2011 5:46 am
by Stranger
How can I auto-rearm primary or secondary weapon ability after each use?
And (in perfection) stop rearming if I arm some of the bushido/ninjitsu spells to continue after?

Re: [EasyUO] rearming weapon abilities

Posted: Wed Apr 13, 2011 8:38 pm
by Nunja
arm the ability (using event macro) ... see here for example http://www.uoex.net/forum/viewtopic.php?f=25&t=2015
loop:
scan journal for "you perform ability" text (whatever it is for the selected ability)
endloop:
goto top

theres scan journal example in kiana bee harvester which is on the forum somewhere

goodluck

Re: [EasyUO] rearming weapon abilities

Posted: Wed Apr 13, 2011 9:28 pm
by Penny
Here's what i did on openEUO to check whether a weapon special is activated or not. Go through each open container until you find the ability icons and check the container colors if either of them is red. Just need to convert the function below to easyUO

Code: Select all

local function specialActivated()
	for i = 0,400 do
		sName,nX,nY,nSX,nSY,nKind,nId,nType,nHP = UO.GetCont(i)
		if not sName then
			break
		elseif nKind == 58692 then
			nCol = UO.GetPix(nX+1,nY+1)
			if nCol == 3217548 then
				return true
			end
		end
	end
	return false
end

Re: [EasyUO] rearming weapon abilities

Posted: Sat Apr 16, 2011 6:19 am
by Danilo Thann
No perfection here... the virtue for it is disabled. Sorry to tell you that. The Sampire is dead here.