<commit_before><commit_msg>Scripts:Caverns of time Flight Npc.<commit_after>#include "StdAfx.h"
#include "Setup.h"
#include "EAS/EasyFunctions.h"

class StewardOfTime : public GossipScript
{
public:
	void GossipHello(Object* pObject, Player* plr, bool AutoSend)
	{
		GossipMenu *Menu;
		objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 9978, plr);
		Menu->AddItem( 0, "Please take me to the master's lair", 1);
		Menu->SendTo(plr);
	}

	void GossipSelectOption(Object* pObject, Player* plr, uint32 Id, uint32 IntId, const char * Code)
	{
		Creature* creat = static_cast< Creature* >( pObject );
		switch(IntId)
		{
		case 1:
			creat->CastSpell(plr, dbcSpell.LookupEntry(34891), true);
			break;
		}
	}

	void Destroy()
	{
		delete this;
	};
};

void SetupCoTNpC(ScriptMgr * mgr)
{
	GossipScript * StewardOfTimeGossip = (GossipScript*) new StewardOfTime();
	mgr->register_gossip_script(20142, StewardOfTimeGossip);
}
{'fraction_non_alphanumeric': 0.13268608414239483, 'fraction_numerical': 0.022653721682847898, 'mean_word_length': 5.1866666666666665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5390446', 'n_tokens_mistral': 382, 'n_tokens_neox': 354, 'n_words': 77}