ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: The Ghost on September 03, 2016, 06:43:38 AM

Title: Bebuff Clarification
Post by: The Ghost on September 03, 2016, 06:43:38 AM
In my book those are suppose to do the same action  Is their something I miss

This work properly
Code: [Select]
repeat

  Call ScanBuffBar

  if ( _CurseBloodOath_ in %BuffBarIconNames || _Strangle_ in %BuffBarIconNames )
       gosub removecurse

 until #false
 
 sub removecurse
    event macro 15 209
    target 2s
    event macro 23
    set %timer_removecurse #scnt2 + %safety

return

This just spwam over and over
Code: [Select]
Call ScanBuffBar

      if ( _CurseBloodOath_ in %BuffBarIconNames ) ; || _Strangle_ in %BuffBarIconNames ; && ( #mana > 20 ) && ( %timer_removecurse < #scnt2 )
            (
               event macro 15 209
              target 2s
              event macro 23
              set %timer_removecurse #scnt2 + %safety
           )
Title: Re: Bebuff Clarification
Post by: Endless Night on September 04, 2016, 07:14:00 AM
Unsure ... Is this a question about game logic or is it saying the buffbar isnt reading something correct ?
Title: Re: Bebuff Clarification
Post by: The Ghost on September 04, 2016, 01:45:48 PM
I was and still testing some new addition and modification to my PVM helper.  The new compile version it not working but all the separate section work.   So after a night of good sleep and more hammer of the head, I had fine why.    It seen to be more of a logic of when some action can be done or verified.  I need to fine a new flow in my main loop to perform the action I want.   

Title: Re: Bebuff Clarification
Post by: The Ghost on September 18, 2016, 06:38:38 PM
I fix this issue a while back now.   What was once a puzzle  become clear, Once I use the bracket, insert the scan at the right place and follow a good logic, .     
Title: Re: Bebuff Clarification
Post by: TrailMyx on September 18, 2016, 09:32:20 PM
Good to see that head hammering still does a body good!