--------------------------------------------------------------------------------
--    AutoPetAttack.
-- ,     --    .
--    --        .
-- ,     -- ,   .
--        .
--       --  .
--       ( --  )
--       .     
--      .
-- : _ = 
--      true -  ,
--  false -  .
--         , : 808.13
--    ,   , : ""
--     ,   ,
--      { }, : { 123, 0, "", { 78, 51 } }
--        .
--         ,
--     .
--------------------------------------------------------------------------------
-- Global configuration for AutoPetAttack add-on
-- The file is actually a Lua script, but I use .txt file extension
-- to make its editing easier and quicker for you.
-- Everything that starts with -- will be ignored by game client.
-- To activate any config option you need to remove -- before it.
-- To disable any config option add -- before it.
--------------------------------------------------------------------------------
-- Created: 2013-12-21
-- Updated: 2014-07-09
-- Support: https://alloder.pro/topic/1488-autopetattack/
--------------------------------------------------------------------------------
Global( "Config", {
--------------------------------------------------------------------------------

	-- Attack on spell/emotion from action panel activated
	--             
	--       : AttackOnSlot = false,
	--       

AttackOnSlot = true,


	-- Comma-separated list of slots on action panel that allow auto attack
	--      ,      .
	--      .
	--    ,      ( ).

Slots = {
	-- /Example: 1, 2, 10, 16
	--       :      --   ,  : AttackOnSlot = false,

	1
},
--------------------------------------------------------------------------------

	-- Attack on any spell cast
	--        
	--        : AttackOnAnySpell = false,

AttackOnAnySpell = false,


	-- Attack on spell casting by its locilized name
	--         
	--        : AttackOnSpell = false,
	--       

AttackOnSpell = true,


	-- Comma-separated list of localized spell names that allow auto attack
	--   ,        
	--            .
	--     ( ).

Spells = {
	-- /Example:
	-- "", "", ""
	--       :   ,  : AttackOnSpell = false,

},
--------------------------------------------------------------------------------

	-- Attack on any emotions
	--     
	--        : AttackOnAnyEmotion = false,

AttackOnAnyEmotion = false,


	-- Attack on emotions by its localized name
	--    
	--        : AttackOnEmotion = false,
	--       

AttackOnEmotion = true,


	-- Comma-separated list of localized emotion names that allow auto attack
	--   ,      
	--            .

Emotions = {
	-- /Example:
	-- "", ""
	--       :   ,  : AttackOnEmotion = false,

},
--------------------------------------------------------------------------------

	-- Attack target even if too far
	--         

AttackFarTarget = true,
--------------------------------------------------------------------------------

	-- Cancel attacking if spell terminated and avatar is not in combat yet
	--            

CancelOnTerminated = true,
--------------------------------------------------------------------------------

	-- Cancel attacking if mob evaded
	--      ( )

CancelOnEvaded = false,
--------------------------------------------------------------------------------
})