From Lame 3.0 in the sub AttackMOb
sub attackMob
set %target FZ_DN_II_WI_TI_YD_WD_NI_EB_VI_NI_R_XF_VE_IE_OE_HE_LD_BI_RB_UB_GB_LB_FB_CI_QE_AE_DE_FE_AB_QF_XE_YE_X_DF_CD_DI_W_BE_UC_UD_YH_N_FD_HI_UE_SD_K_J_U_HD_PD_EJ_UI_QO_EAB_TO_PO_XI_UZ_KH_KAB_SZ_FD_MB_AC_IZ_XU_DF_DD_NE_VE_MO_TZ_LD_CI_OE_WH_XI_SH_SC_EF_NB_RC_PB_UGB_KHB_T_CHB_BHB_NE_FD_YO_QO_EAB_TO_PO_XI_UZ_KH
;; Oaks:: WH_XI_SH_SC_EF_NB_RC_PB :: Pixies, Shadow Wisps, Kirins, Unicorns
;; Mephitis:: UE_SD_K_J_U_HD_PD_EJ_UI :: Scorpions, Giant Spiders, Terathan Warriors, Terathan Drones, Dread spiders, Matriarch, Avengers, PEs
;; Niera:: II_WI_TI_YD_WD_NI_EB_VI_NI_R :: Mummies, Skeletal Knights, Wraiths, Spectres
;; Semidar:: W_BE_UC_UD_YH_N_FD_HI :: Imps, Mongbats, gargoyles, harpies, burning gargs, stone gargs
;; Rikktor:: QE_AE_DE_FE_AB_QF_XE_YE_X_DF_CD_DI :: Lizardmen, Snakes, Lava lizards, ophidian warriors, Dragons, Ophidian Avengers
;; Baracoon:: XF_VE_IE_OE_HE_LD_BI_RB_UB_GB_LB_FB_CI ::
;; Pet Balls:: PHB :: Solen Queens
;; Evil Mages:: LC_OC :: Evil Mages
;; Lich Lords:: R_EB :: Lich Lords
;; Hythloth Spawn UGB_KHB_T_CHB_BHB_NE_FD_YO
;; New Deceit _QO_EAB_TO_PO_XI_UZ_KH
finditem %target G_1
if #findCnt > 0
{
if #findCnt > 1 && ( %useLS = #true ) && ( #mana < 25 ) && ( %spellTimer < #scnt2 )
gosub execMS
if #findCnt < 2 && ( %useLS = #true ) && ( #mana < 25 ) && ( %spellTimer < #scnt2 )
gosub execLS
if ( %usePrimary = #true ) && ( #mana > 25 ) && ( %spellTimer < #scnt2 )
gosub execPrim
if ( %useSecondary = #true ) && ( #mana > 25 ) && ( %spellTimer < #scnt2 )
gosub execSec
Call ScanBuffBar
set %ConWep _ConsecrateWeapon_ in %BuffBarIconNames
if ( %castConWep = #true ) && ( %ConWep = #false ) && ( #mana > 10 ) && ( %spellTimer < #scnt2 )
gosub castCon
set %EOO _EnemyOfOne_ in %BuffBarIconNames
if ( %castEOO = #true ) && ( %EOO = #false ) && ( #mana > 10 ) && ( %spellTimer < #scnt2 )
gosub enemyOfOne
}
if #FINDKIND = -1 4
finditem %target
set %attack #findid
set #LTARGETID %attack
event macro 27 0
if #findid <> %attack
{
set %attack #findid
set #LTARGETID %attack
event macro 27 0
}
return
First Problem. #Findkind is for Checking if an object is in a container or not. Don't use it when looking at objects on the Ground already.
if #FINDKIND = -1 4
finditem %target
set %attack #findid
set #LTARGETID %attack
event macro 27 0
Change that to This, And then DROP the Part where you check for if #Findid <> %Attack, and add in a small Wait timer in between attacking.
if #Findcnt > 0
{
set #ltargetid #Findid
Event macro 27 0
Wait 5
}
That should solve all your problems.