QUEST_SYSTEM_SWITCH = 1

QUEST_SYSTEM_ONLY_ACCOUNT = 1 		-- Se = 1, a quest será apenas por conta, se = 0, será por personagem.
QUEST_SYSTEM_REMOVE_RESETS = 1		-- Se = 1 removerá os Resets do Personagem.
QUEST_SYSTEM_REMOVE_MRESETS = 1		-- Se = 1 removerá os Master Resets do Personagem.
QUEST_SYSTEM_REMOVE_COIN1 = 1		-- Se = 1 removerá os WCoinC da Conta.
QUEST_SYSTEM_REMOVE_COIN2 = 1		-- Se = 1 removerá os WCoinP da Conta.
QUEST_SYSTEM_REMOVE_COIN3 = 1		-- Se = 1 removerá os GoblinPoints da Conta.

--=======================================================================================
--================================ Configuração Geral ===================================
--=======================================================================================
QUEST_SYSTEM_INFO = {}
QUEST_SYSTEM_INFO = {
--== 1° Quest
    { QuestIdentification = 1, Level = 400, Reset = 0, MReset = 0, Zen = 0, Coin1 = 0, Coin2 = 0, Coin3 = 0, Vip = 0, Kills = 0, QuestName = 'Quest 1', Validity = '05/12/2029' },
--== 2° Quest
    { QuestIdentification = 2, Level = 400, Reset = 0, MReset = 0, Zen = 0, Coin1 = 0, Coin2 = 0, Coin3 = 0, Vip = 0, Kills = 0, QuestName = 'Quest 2', Validity = '05/12/2029' },
--== 3° Quest
    { QuestIdentification = 3, Level = 400, Reset = 0, MReset = 0, Zen = 0, Coin1 = 0, Coin2 = 0, Coin3 = 0, Vip = 0, Kills = 0, QuestName = 'Quest 3', Validity = '05/12/2029' },
--== 4° Quest
    { QuestIdentification = 4, Level = 400, Reset = 0, MReset = 0, Zen = 0, Coin1 = 0, Coin2 = 0, Coin3 = 0, Vip = 0, Kills = 0, QuestName = 'Quest 4', Validity = '05/12/2029' },
}


--=======================================================================================
--================================ Requerimento de Itens ================================
--=======================================================================================
QUEST_SYSTEM_REQUIREMENTS_ITEMS = {}
--== 1° Quest
QUEST_SYSTEM_REQUIREMENTS_ITEMS[1] = {
    { ItemIndex = GET_ITEM(14, 13), Level = 0, Luck = 0, Skill = 0, Quantity = 2 },
}
--== 2° Quest
QUEST_SYSTEM_REQUIREMENTS_ITEMS[2] = {
    { ItemIndex = GET_ITEM(14, 14), Level = 0, Luck = 0, Skill = 0, Quantity = 2 },
}
--== 3° Quest
QUEST_SYSTEM_REQUIREMENTS_ITEMS[3] = {
    { ItemIndex = GET_ITEM(14, 16), Level = 0, Luck = 0, Skill = 0, Quantity = 2 },
}
--== 4° Quest
QUEST_SYSTEM_REQUIREMENTS_ITEMS[4] = {
    { ItemIndex = GET_ITEM(14, 22), Level = 0, Luck = 0, Skill = 0, Quantity = 2 },
}


--=======================================================================================
--================================ Requerimento de Monsters =============================
--=======================================================================================
--(max 9 monstros por Quest)
QUEST_SYSTEM_REQUIREMENTS_MONSTER = {}
--== 1° Quest
QUEST_SYSTEM_REQUIREMENTS_MONSTER[1] = {
    { MonsterIndex = 2, Quantity = 1 },
}
--== 2° Quest
QUEST_SYSTEM_REQUIREMENTS_MONSTER[2] = {
    { MonsterIndex = 3, Quantity = 1 },
}
--== 3° Quest
QUEST_SYSTEM_REQUIREMENTS_MONSTER[3] = {
    { MonsterIndex = 2, Quantity = 1 },
}
--== 4° Quest
QUEST_SYSTEM_REQUIREMENTS_MONSTER[4] = {
    { MonsterIndex = 3, Quantity = 1 },
}


--=======================================================================================
--================================= Premiação em Moedas =================================
--=======================================================================================
--CoinIdentification: 1 = WcoinC, 2 = WcoinP, 3 = GlobinPoint
QUEST_SYSTEM_REWARD_COINS = {}
--== Reward - 1° Quest
QUEST_SYSTEM_REWARD_COINS[1] = {
 { CoinName = 'WcoinC', CoinAmount = 50, CoinIdentification = 1 },
}
--== Reward - 2° Quest
QUEST_SYSTEM_REWARD_COINS[2] = {
 { CoinName = 'WcoinP', CoinAmount = 50, CoinIdentification = 2 },
}
--== Reward - 3° Quest
QUEST_SYSTEM_REWARD_COINS[3] = {
 { CoinName = 'GoblinPoint', CoinAmount = 50, CoinIdentification = 3 },
}
--== Reward - 4° Quest
QUEST_SYSTEM_REWARD_COINS[4] = {
 { CoinName = 'WcoinC', CoinAmount = 50, CoinIdentification = 1 },
 { CoinName = 'WcoinP', CoinAmount = 50, CoinIdentification = 2 },
 { CoinName = 'GoblinPoint', CoinAmount = 50, CoinIdentification = 3 },
}


--=======================================================================================
--================================= Premiação em Itens ==================================
--=======================================================================================
-- ItemTime: 0 = não expira ou time em segundos
-- DaysExpire: Tempo que os itens ficarão disponíveis para coleta no NPC Rescue
-- Class: 0 = SM, 1 = BK, 2 = ELF, 3 = MG, 44 = DL, 5 = SUM. -1 = All Classes
QUEST_SYSTEM_REWARD_ITEMS = {}
--== Reward - 1° Quest
QUEST_SYSTEM_REWARD_ITEMS[1] = {
    { ItemIndex = GET_ITEM(5, 12), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Grand Viper Staff +15', Count = 1, Class = 0},
    { ItemIndex = GET_ITEM(0, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Bone Blade +15', Count = 1, Class = 1},
    { ItemIndex = GET_ITEM(4, 24), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Sylph Wind Bow +15', Count = 1, Class = 2},
    { ItemIndex = GET_ITEM(0, 14), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Explosion Blade +15', Count = 1, Class = 3},
    { ItemIndex = GET_ITEM(2, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Soleil Scepter +15', Count = 1, Class = 4},
    { ItemIndex = GET_ITEM(5, 19), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Stomr Blitz Sticky +15', Count = 1, Class = 5},
}
--== Reward - 2° Quest
QUEST_SYSTEM_REWARD_ITEMS[2] = {
    { ItemIndex = GET_ITEM(5, 12), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Grand Viper Staff +15', Count = 1, Class = 0},
    { ItemIndex = GET_ITEM(0, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Bone Blade +15', Count = 1, Class = 1},
    { ItemIndex = GET_ITEM(4, 24), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Sylph Wind Bow +15', Count = 1, Class = 2},
    { ItemIndex = GET_ITEM(0, 14), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Explosion Blade +15', Count = 1, Class = 3},
    { ItemIndex = GET_ITEM(2, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Soleil Scepter +15', Count = 1, Class = 4},
    { ItemIndex = GET_ITEM(5, 19), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Stomr Blitz Sticky +15', Count = 1, Class = 5},
}
--== Reward - 3° Quest
QUEST_SYSTEM_REWARD_ITEMS[3] = {
    { ItemIndex = GET_ITEM(5, 12), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Grand Viper Staff +15', Count = 1, Class = 0},
    { ItemIndex = GET_ITEM(0, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Bone Blade +15', Count = 1, Class = 1},
    { ItemIndex = GET_ITEM(4, 24), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Sylph Wind Bow +15', Count = 1, Class = 2},
    { ItemIndex = GET_ITEM(0, 14), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Explosion Blade +15', Count = 1, Class = 3},
    { ItemIndex = GET_ITEM(2, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Soleil Scepter +15', Count = 1, Class = 4},
    { ItemIndex = GET_ITEM(5, 19), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Stomr Blitz Sticky +15', Count = 1, Class = 5},
}
--== Reward - 4° Quest
QUEST_SYSTEM_REWARD_ITEMS[4] = {
    { ItemIndex = GET_ITEM(5, 12), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Grand Viper Staff +15', Count = 1, Class = 0},
    { ItemIndex = GET_ITEM(0, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Bone Blade +15', Count = 1, Class = 1},
    { ItemIndex = GET_ITEM(4, 24), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Sylph Wind Bow +15', Count = 1, Class = 2},
    { ItemIndex = GET_ITEM(0, 14), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Explosion Blade +15', Count = 1, Class = 3},
    { ItemIndex = GET_ITEM(2, 22), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Soleil Scepter +15', Count = 1, Class = 4},
    { ItemIndex = GET_ITEM(5, 19), Level = 15, Op1 = 1, Op2 = 1, Life = 7, Exc = 63, Ancient = 0, JoH = 0, SocketBonus = 255, Sock1 = 255, Sock2 = 255, Sock3 = 255, Sock4 = 255, Sock5 = 255, ItemTime = 0, DaysExpire = 30, Name = 'Stomr Blitz Sticky +15', Count = 1, Class = 5},
}

--=======================================================================================
--================================= Premiação em Buffs ==================================
--=======================================================================================
-- EffectID = id fo Efeito no Effect.txt
-- EffectTime = tempo de expiração em segundos
QUEST_SYSTEM_REWARD_BUFF = {}
--== Reward - 1° Quest
QUEST_SYSTEM_REWARD_BUFF[1]  = {
    { EffectID = 29, EffectTime = 3600, BuffName = 'Seal Ascencion' }
}
--== Reward - 2° Quest
QUEST_SYSTEM_REWARD_BUFF[2]  = {
    { EffectID = 29, EffectTime = 3600, BuffName = 'Seal Ascencion' }
}
--== Reward - 3° Quest
QUEST_SYSTEM_REWARD_BUFF[3]  = {
    { EffectID = 29, EffectTime = 3600, BuffName = 'Seal Ascencion' }
}
--== Reward - 4° Quest
QUEST_SYSTEM_REWARD_BUFF[4]  = {
    { EffectID = 29, EffectTime = 3600, BuffName = 'Seal Ascencion' }
}

--== Não modificar nada abaixo daqui sem conhecimento!
QUEST_SYSTEM_PACKET = 0x04
QUEST_SYSTEM_PACKET_OPEN_NAME = 'QuestSystemOpen'
QUEST_SYSTEM_PACKET_START_NAME = 'QuestSystemStartQuest'
QUEST_SYSTEM_PACKET_GET_REWARD_NAME = 'QuestSystemGetReward'
QUEST_SYSTEM_PACKET_CONTINUE_QUEST_NAME = 'QuestSystemContinueQuest'

QUEST_SYSTEM_MESSAGES = {}

QUEST_SYSTEM_MESSAGES['Por'] = {
[1] = 'Você está ocupado no momento!',
[2] = 'Não encontramos nenhuma quest disponível no momento!',
[3] = 'Você iniciou a quest %s!',
[4] = 'Não conseguimos identificar a sua quest!',
[5] = 'Você já está com uma quest ativa!',
[6] = 'Você precisa concluir todos os requisitos!',
[7] = 'Você recebeu %d %s',
[8] = 'Você já concluiu todas as quests!',
[9] = '%s - %s (%d/%d)',
}

QUEST_SYSTEM_MESSAGES['Eng'] = {
[1] = 'You are busy at the moment!',
[2] = 'We havent found any quests available at the moment!',
[3] = 'You have started quest %s!',
[4] = 'We cant identify your quest!',
[5] = 'You already have an active quest!',
[6] = 'You must complete all requirements!',
[7] = 'You have received %d %s',
[8] = 'You have already completed all the quests!',
[9] = '%s - %s (%d/%d)',
}

QUEST_SYSTEM_MESSAGES['Spn'] = {
[1] = '¡Estás ocupado en este momento!',
[2] = '¡No hemos encontrado ninguna misión disponible en este momento!',
[3] = '¡Has comenzado la misión %s!',
[4] = '¡No pudimos identificar tu misión!',
[5] = '¡Ya tienes una misión activa!',
[6] = '¡Debes completar todos los requisitos!',
[7] = 'Has recibido %d %s',
[8] = '¡Ya has completado todas las misiones!',
[9] = '%s - %s (%d/%d)',
}
