Guild Castle "Working" buff
Posted: Mon Oct 25, 2010 1:20 pm
Tried to use the code below but does not seem to work. Anyone know how to check to see if a playing is currently "farming" in the castle?
Code: Select all
local target = player:getTarget();
target:updateBuffs();
local bool = target:hasBuff("Working");
if( bool == true ) then
printf ( os.date() .. ":has buff.\n");
else
printf ( os.date() .. ":Does not have buff.\n");
end
yrest(2000*1);