Page 1 of 1

Gathering aether

Posted: Wed May 31, 2017 7:06 pm
by janpastuch
Hey, Im looking for working Gathering lua, with bard fly recovery skill. Im playing EU with NA data pack, thx in advance ;)

Re: Gathering aether

Posted: Thu Jun 01, 2017 11:27 pm
by smaion40
janpastuch wrote:
Wed May 31, 2017 7:06 pm
Hey, Im looking for working Gathering lua, with bard fly recovery skill. Im playing EU with NA data pack, thx in advance ;)
I'm also curious about a function like that, the gathering script calls the GrinderFramework.lua only in case the character is being attacked.

Code: Select all

	-- [OfficialGrinderFramework]: Include the OfficialGrinderFramework to defend when attacked.
	Framework = Include( "OfficialGrinderFramework/GrinderFramework.lua" );
	Framework:OnLoad(); 	
Is there a way to call directly the Grinder script and therefore the respective Class.lua in the OfficialGathering.lua without being attacked?.

After forcing the GrinderFramework.lua you just need to add this into the songweaver.lua class script and it should do the job.

Code: Select all

	-- Soaring Sonnet
	if Helper:CheckAvailable( "Soaring Sonnet" ) and Player:GetFlightTimeCurrent() < Player:GetFlightTimeMaximum() - 180 then
		Helper:CheckExecute( "Soaring Sonnet" );
		return false;
	end
	
I'm pretty new when it comes to scripting, it would be awesome if somebody experienced give us a hand :)