example wanted: Momentum Strike in Spawn

General discussion pertaining to the Demise shard. Off-topic posts will be moderated.
Post Reply
User avatar
Gargl Kark
Posts: 484

example wanted: Momentum Strike in Spawn

Post by Gargl Kark »

Hi all,

can someone pls provide best practice on how to call momentum strike automatically when > 2 enemies are on screen (UOSteam)?
I fail to call it without triggering it manually in the first place.

thanks,
GK
Whammy | Timezone: GMT+2

2020-09-17: SALE | Jewels List
User avatar
MMMartin
Posts: 1219

Re: example wanted: Momentum Strike in Spawn

Post by MMMartin »

well, it dont attack 2 target all time,

it work with principe like enemy need ATTACK YOU!!!! after will active moment strike

if moster attack at somethinig else or dont even attack and dont see you like enemy, moment strike dont will work!!!!

example, doom are 2 bosses spwan same time and one player is archer and wanna use mement strike, it work if he is solo, after come second player warior and start attack one boss... boss will attack at warior and not archer, mean archer with mement strike stop work :) and attack only 1 boss
User avatar
Gargl Kark
Posts: 484

Re: example wanted: Momentum Strike in Spawn

Post by Gargl Kark »

right, let's assume i'm solo at some named monster, then another monster drops by and attacks me. I need a script that switches from double strike to momentum strike as soon as the second one is in melee range.

Any ideas?
Whammy | Timezone: GMT+2

2020-09-17: SALE | Jewels List
User avatar
Tanya
Posts: 1796

Re: example wanted: Momentum Strike in Spawn

Post by Tanya »

Maybe something like this, but I don't know how to make an if-statement that will check that there are >2 monsters near you:

Code: Select all

for 2
  getenemy 'criminal' 'enemy' 'murderer' 'grey' 'next'
  attack 'enemy'
endfor
cast 'Momentum Strike'
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
Madmarz
Posts: 277

Re: example wanted: Momentum Strike in Spawn

Post by Madmarz »

This is a super rough idea, no clue if any of it will be usefull

Code: Select all

if not listexists 'Mobs'
  createlist 'Mobs'
  // Add however many DIFFERENT mobs there are in area
  pushlist 'Mobs' xxxxx
endif
for 0 to 'Mobs'
  if @findtype Mobs[] 'any' 'ground' 1 2
    if hits 'found' > 0
      @setalias 'found' 'Mob1'
      ignoreobject 'found'
    endif
    if @findtype Mobs[] 'any' 'ground' 1 2
      if hits 'found' > 0
        @setalias 'found' 'Mob2'
        ignoreobject 'found'
      endif
    endif
  endif
  if @inrange 'Mob1' 2 and @inrange 'Mob2' 2
    while hits 'Mob1' > 0 and hits 'Mob2' > 0
      attack 'Mob1'
      cast 'Momentum Strike'
    endwhile
    if hits 'Mob1' == 0
      @unsetalias 'Mob1'
    endif
    if hits 'Mob2' == 0
      @unsetalias 'Mob2'
    endif
  elseif @inrange 'Mob1' 2 and not @inrange 'Mob2' 2
    while hits 'Mob1' > 0
      attack 'Mob1'
      //set primary or secondary
      setability 'primary' 'on'
    endwhile
    if hits 'Mob1' == 0
      @unsetalias 'Mob1'
    endif
  elseif @inrange 'Mob2' 2 and not @inrange 'Mob1' 2
    while hits 'Mob2' > 0
      attack 'Mob2'
      //set primary or secondary
      setability 'primary' 'on'
    endwhile
    if hits 'Mob2' == 0
      @unsetalias 'Mob2'
    endif
  endif
endfor
gonthrax likes this.
Top
User avatar
Alhimikut
Posts: 332
Location: Sofia, Bulgaria

Re: example wanted: Momentum Strike in Spawn

Post by Alhimikut »

why don't you just use Whirlwind special like everyone else ?
Legendary Noob

My chars are:
Fermina Daza: Legendary Banksitter
Isabelle Salazar: Noob Sampire
Anti Social: Master of Felucca house hiding
Tanya likes this.
Top
User avatar
Gargl Kark
Posts: 484

Re: example wanted: Momentum Strike in Spawn

Post by Gargl Kark »

when i call "cast momentum strike" it toggles the icon on/off permanently, so this wouldn't work. That's what I wanted to know, wether there is another way to get this done or not...

Whirlwind is bound to a weapon, Momentum Strike is bound to a skill. That's why, to keep a long story short.
Whammy | Timezone: GMT+2

2020-09-17: SALE | Jewels List
BannerBruce
Posts: 453

Re: example wanted: Momentum Strike in Spawn

Post by BannerBruce »

Cast 'monumentum strike'
Pause 3000(pause depends on your swing)

Use 2cu shides and Attack Both from house
User avatar
Shallan
Posts: 1483

Re: example wanted: Momentum Strike in Spawn

Post by Shallan »

BannerBruce wrote:Cast 'monumentum strike'
Pause 3000(pause depends on your swing)

Use 2cu shides and Attack Both from house
He dont want to train. He want to use it against spawn / perless / farm etc.
___________________________________

UABOF - Users against Bullshit on forum.
Gargl Kark likes this.
Top
BannerBruce
Posts: 453

Re: example wanted: Momentum Strike in Spawn

Post by BannerBruce »

Ohh
User avatar
Alhimikut
Posts: 332
Location: Sofia, Bulgaria

Re: example wanted: Momentum Strike in Spawn

Post by Alhimikut »

maybe if someone can script easyuo, a macro can be made same as the one that always keeps the counter attack up ?
Legendary Noob

My chars are:
Fermina Daza: Legendary Banksitter
Isabelle Salazar: Noob Sampire
Anti Social: Master of Felucca house hiding
Madmarz
Posts: 277

Re: example wanted: Momentum Strike in Spawn

Post by Madmarz »

you could use your journal for momentum strike, whenever you succesfully cast/land it, it gives a message. Just add in the script:

Code: Select all

if @injournal "Whatever the system message i cant remember' 'System'
@clearjournal
cast 'Momentum Strike'
endif
User avatar
Gargl Kark
Posts: 484

Re: example wanted: Momentum Strike in Spawn

Post by Gargl Kark »

for now, i use two macros:
- one which calls momentum strike once (cast, no loop)
- another which does a lot of stuff, and looks into the journal for those conditions

why:
the first macro sets momentum strike initially, so that there is actually anything to write into the journal. the second macro then exploits the journal as described.

I think that's not very usable. so it would be good to have something better.
Whammy | Timezone: GMT+2

2020-09-17: SALE | Jewels List
Post Reply