View Single Post
  #4  
Old 01-27-2025, 09:07 PM
ddmbr
Fire Beetle
 
Join Date: Jan 2025
Location: UK
Posts: 4
Default DoN

Got it. I'd forgotten how it worked ie the faction tasks are not instanced. When I get enough faction tasks done ( 2 so far completed) I'll confirm if im having the same issue.

Looking at that script you could try forcing the DRF value to 4 ie DRF = 4 by adding it on a new line above the if statement as below.

Code:
function event_say(e)
    local is_gm = (e.other:Admin() > 80 and e.other:GetGM());
	if (eq.is_current_expansion_lost_dungeons_of_norrath() or is_gm) then

		if(e.message:findi("hail")) then
			local DRF=e.other:GetFactionLevel(e.other:GetID(), e.self:GetID(), e.other:GetBaseRace(), e.other:GetClass(), e.other:GetDeity(), 1021, e.self);
			DRF = 4  # test value
			if (DRF <= 5) then
				e.self:Say("Perhaps you will find a path to the higher ranks of the Dark Reign -- a place I'm sure I shall find myself someday... someday.");

				if (DRF <=4) then
					eq.task_selector({292, 293, 307, 295, 299, 300, 302 ,304 ,306});           
				else
					eq.task_selector({307, 295, 306});
				end         
			else
				e.self:Say("You can probably go try to speak to the Dark Reign for work.  I've got nothing for you.");
			end
		end
	end
end
Reply With Quote