61
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sub melee
event macro 27 0 ; attack last
set %target #ltargetID
set %timer_timeout ( #sCnt + %timeout )
GOSUB ENEMYOFONE
IF !enemyofone = #false
{
REPEAT
GOSUB ENEMYOFONE
UNTIL !enemyofone = #TRUE
}
REPEAT
WAIT 10
repeat
{
findItem %target
if %consecrate = #TRUE && #sCnt > %timer_consecrate && #mana > %mana_consecrate
gosub consecrate
}
until #findCnt = 0 || #sCnt > %timer_timeout
wait 40 ; defeats the corpse honor bug thing
return
What are you trying to do w/it.Okay, been playin w/ this script for a couple of days raising my weapons skill works great. Nice, short, and to the point.
I only added one thing and changed the way claw works
I added an EOO sub to the mele sectionCode: [Select]GOSUB ENEMYOFONE
IF !enemyofone = #false
{
REPEAT
GOSUB ENEMYOFONE
UNTIL !enemyofone = #TRUE
}
SUB ENEMYOFONE
Call ScanBuffBar ; Presumes file is in same location as euo
{
If _EnemyOfOne_ in %BuffBarIconNames
set !enemyofone #true
else
set !enemyofone #false
}
IF !enemyofone = #false
GOSUB CAST_EOO
RETURN
SUB CAST_EOO
EVENT MACRO 15 206
WAIT 30
RETURN
and changed the claw to where this script told it when to loot a much better way in my opinion.( but you know what they say about opinions)Code: [Select]sub corpse
It is definately a nce little script to learn from, and not a goto in the whole thing.
GOsub TM_EnableAutoloot
repeat
WAIT 1
namespace copy TM_loot_in_progress from global TM_loot
until !TM_loot_in_progress <> #TRUE
WAIT 5
GOsub TM_DisableAutoloot
WAIT
RETURN
thanks again for posting it.
I cannot seem to place this in the right area of the script....can someone guide me please.