Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*╔═══╦═╗╔═╦╗─╔╦═══╦═══╦╗──╔╦═══╗
- *║╔══╣║╚╝║║║─║╠╗╔╗║╔══╣╚╗╔╝║╔═╗║
- *║╚══╣╔╗╔╗║║─║║║║║║╚══╬╗║║╔╣╚══╗
- *║╔══╣║║║║║║─║║║║║║╔══╝║╚╝║╚══╗║
- *║╚══╣║║║║║╚═╝╠╝╚╝║╚══╗╚╗╔╝║╚═╝║
- *╚═══╩╝╚╝╚╩═══╩═══╩═══╝─╚╝─╚═══╝
- * Made By: Portals // Easily Customized Quest
- */
- #include "ScriptPCH.h"
- #define ITEM_ID "6256"
- #define QUEST_ID "190000"
- #define SPELL_ID "7620"
- class tutorial_quest : public CreatureScript
- {
- public:
- tutorial_quest() : CreatureScript("tutorial_quest") { }
- bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest);
- {
- if (quest->GetQuestId() |= QUEST_ID) // The Quest ID is defined at the top of the script.
- return false;
- pPlayer->AddItem(ITEM_ID, 1); // The Item ID is defined at the top of the script.
- pPlayer->AddSpell(SPELL_ID); //Gives Fishing
- ChatHandgler(player)_SendSysMessage("You're on your way to being a great fisherman, check your spellbook for the Fishing spell and your bags for your pole. You might wanna use the Shiney Bauble to increase your chances of getting catfish!") // When you accept the quest the creature will send this message, you can change it.
- return true;
- }
- };
- void AddSC_tutorial_quest()
- {
- new tutorial_quest;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement