Nyyrazzilyss / NyyLIB

Mudlet client script for Torilmud
http://www.torilmud.com/phpBB3/viewtopic.php?f=4&t=27194
GNU General Public License v2.0
7 stars 4 forks source link

looking at mob that is using a 1h, changes my powers when I 2h, and vice versa #345

Open byzanthia opened 2 months ago

byzanthia commented 2 months ago

This happens quite often. I usually wield a 2h weapon, and turn a few powers on to auto-use.

Then I'll look at the mob I'm fighting, and if it happens to use a 1h/shield or even just a shield, something in your package will parse that and assume that I changed my gear to that. It will start using 1h powers, which don't work. In the example below, it tried to use DS, and I had to type "eq" to force it to recognize that I was still using a 2h weapon.

If possible, can you add a check for the "You are using" string or something? So it only updates the powers to use based on when I change gear and not whenever I look at another player or mob?


< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  71%  rcl] EP: rcl P: std >
< |ss +|sk 2|ua 5|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     

A drow warrior's senses seem to clear again!
A drow warrior's movements appear to speed up.

< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  71%  rcl] EP: rcl P: std >
< |ss +|sk 1|ua 4|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     
l drow
The drow stands about 5'2", with black skin and red glowing eyes.  His hair
is silver in color, and very long.  The thin, but tight as steel cords of
muscle in his arms and the many scars on his face indicate that this one knows
how to fight.
A drow warrior is a medium-sized level 57 Drow Elf.
He has quite a few wounds.
He is encased in killing ice!
He's encased in a shimmering globe!

<held as shield>     a drow buckler 

< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  71%  rcl] EP: rcl P: std >
< |ss +|sk 1|ua 4|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     
[MELEE: Defensive Strike] DS
You need to wear a shield to do that.

< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  71%  rcl] EP: rcl P: std >
< |ss +|sk 1|ua 4|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     
ss

Your attack only grazes a drow warrior as he dodges aside!
Your awesome flaming slash barely wounds a drow warrior.
The globe around your body flares as it bears the brunt of a drow warrior's assault!
Your a crimson-edged obsidian blade explodes in a burst of searing flames!
Your a crimson-edged obsidian blade detonates in a shimmering blast of lawful might!
You score a CRITICAL HIT!
Your massive flaming slash barely wounds a drow warrior.
The globe around your body flares as it bears the brunt of a drow warrior's assault!
Your massive flaming slash barely wounds a drow warrior.
The globe around your body flares as it bears the brunt of a drow warrior's assault!
A drow warrior misses you with his hit.
A drow warrior misses you with his hit.
A drow warrior clambers to his feet.

< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  67%] EP: std P: std >
< |ss +|sk 1|ua 4|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     
eq
You are using:
<worn as a badge>    a badge in the shape of a skull (illuminating)
<worn on head>       the mystical circlet of the coiled serpent
<worn on eyes>       a rune etched dragonscale of incarnadine hue
<worn in ear>        a tiny mithril stud set with a ruby
<worn in ear>        a teardrop earring of solid jade
<worn on face>       a stygian black dragon mask
<worn around neck>   a thick titanium band of volance
<worn around neck>   a fiery molten lava pendant
<worn on body>       a lightweight suit of linked mail body armor
<worn about body>    a cloak of shadow dragon hide
<worn as quiver>     a dragonhide ammo belt
<worn about waist>   a supple leather girdle with golden studs
<worn on arms>       some blood-stained leather sleeves with mithril studs
<worn around wrist>  a runed mithril bracer
<worn around wrist>  a storm bracelet
<worn on hands>      a pair of gauntlets wreathed in electricity (glowing)
<worn on finger>     a ring of the hearth
<worn on finger>     a fighter's loop of sorcerous ability
<wielding twohanded> a crimson-edged obsidian blade
<worn on legs>       a set of greaves made of jagged ice
<worn on feet>       the mystical boots of stability

< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  67%] EP: std P: std >
< |ss +|sk +|ua 3|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     
[MELEE: Spinning Sweep] SS
You spin beneath a drow warrior's guard and strike out with a precise attack.
The globe around your body flares as it bears the brunt of a drow warrior's assault!
A drow warrior loses his balance and topples to the ground.

< 907h/907H 180v/180V [Tank: Cherzra  100%] [Target: drow  64%  rcl]