Feature - Implemented Ed The Undying and CCS scripts

Grotfang

Developer
Code:
[ default ]
1: skill entangling noodles
2: skill spring raindrop attack
3: skill shieldbutt

Code:
[648] The Lower Chambers (Empty/Rubble)
Encounter: Ed the Undying
Round 0: Grotfang loses initiative!
[COLOR="Red"]Round 1: Grotfang casts ENTANGLING NOODLES![/COLOR]
Round 2: Grotfang casts SPRING RAINDROP ATTACK!
Round 3: Grotfang casts SHIELDBUTT!
Round 4: Grotfang casts SHIELDBUTT!
Round 5: Grotfang casts SHIELDBUTT!
>>Win
Encounter: Ed the Undying
Round 0: Grotfang wins initiative!
Round 1: Grotfang casts SPRING RAINDROP ATTACK!
Round 2: Grotfang casts SHIELDBUTT!
Round 3: Grotfang casts SHIELDBUTT!
Round 4: Grotfang casts SHIELDBUTT!
>>Win
Encounter: Ed the Undying
Round 0: Grotfang wins initiative!
Round 1: Grotfang casts SPRING RAINDROP ATTACK!
Round 2: Grotfang casts SHIELDBUTT!
Round 3: Grotfang casts SHIELDBUTT!
>>Win
Encounter: Ed the Undying
Round 0: Grotfang wins initiative!
Round 1: Grotfang casts SPRING RAINDROP ATTACK!
Round 2: Grotfang casts SHIELDBUTT!
Round 3: Grotfang casts SHIELDBUTT!
>>Win
Encounter: Ed the Undying
Round 0: Grotfang wins initiative!
Round 1: Grotfang casts SPRING RAINDROP ATTACK!
Round 2: Grotfang casts SHIELDBUTT!
>>Win
Encounter: Ed the Undying
Round 0: Grotfang wins initiative!
Round 1: Grotfang casts SPRING RAINDROP ATTACK!
Round 2: Grotfang casts SHIELDBUTT!
>>Win
Encounter: Ed the Undying
Round 0: Grotfang wins initiative!
Round 1: Grotfang casts SPRING RAINDROP ATTACK!
Round 2: Grotfang casts SHIELDBUTT!
>>Win
You acquire an item: Holy MacGuffin

This is my roundabout way of saying you can cast entangling noodles against any and all of Ed's forms, but mafia doesn't think you should be able to. Would it be possible to allow this?
 

Bale

Minion
I thought that was fixed recently when veracity refactored the fight parsing to use html cleaner?
 

xKiv

Active member
Well ... looking at FightRequest.java, mafia (since r6624) recognizes end-of-fight by seeing the HTML comment <!--WINWINWIN--> .. does Ed produce that between fights (probably not)?
And the NS between forms (pobably not)?
And the nemeseses between last two forms (maybe)?
Are there any other multi-form combats?
 

Veracity

Developer
Staff member
Yes to all of the above. That is why it resets to Round 0 and gives the "Grotfang wins initiative" message for each form above.

That also prompts KoLmafia to reset the monster hit points and such. I was surprised and unhappy when it did not do that for Ed with my multi a few days ago - and unsurprised and happy when it did it correctly for my main a few days later.

It needs to reset the "cast noodles" flag when it does that. I'm not sure why it didn't.
 

xKiv

Active member
But ... I have *never* had Ed reset HP between forms ... he always ends with ~~ -1000 HP :/
 

Veracity

Developer
Staff member
This is still open? Well, my most recent battle with Ed went like this. I started each round with noodles, followed up with rock band flyers, and simply attacked to finish him off each time. Some comments:

- This was in the relay browser, using KoLmafia stationary buttons, which grey out once you have used noodles in a combat. They un-greyed for each new form.
- The session log labels each for as "ed the undying (1)" ... "ed the undying (7)"
- Ed's HPs went down with each form from 3 to 7, precisely as expected

This was not testing a CCS script, as the title of this feature request would seem to want, but all indications are that Ed is behaving just as we'd hope.

[905] The Lower Chambers (Empty/Rubble)
Encounter: Ed the Undying
Round 0: Veracity loses initiative!
You lose 7 hit points
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
Round 4: ed the undying (1) takes 52 damage.
Round 4: Veracity attacks!
Round 5: ed the undying (1) takes 51 damage.
Round 5: Veracity attacks!
Round 6: ed the undying (1) takes 109 damage.
Round 6: Veracity attacks!
Round 7: ed the undying (1) takes 45 damage.
You lose 7 hit points
Round 7: Veracity attacks!
Round 8: ed the undying (1) takes 56 damage.
Round 8: Veracity wins the fight!
Your familiar gains a pound: Frumious Grrl, the 19 lb. Frumious Bandersnatch
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 21 Strongness
You gain 28 Wizardliness
You gain a Mysticality point!
You gain 44 Roguishness
Encounter: Ed the Undying
Round 0: Veracity wins initiative!
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
Round 4: ed the undying (2) takes 54 damage.
Round 4: Veracity attacks!
Round 5: ed the undying (2) takes 73 damage.
Round 5: Veracity attacks!
Round 6: ed the undying (2) takes 46 damage.
Round 6: Veracity attacks!
Round 7: ed the undying (2) takes 52 damage.
You lose 8 hit points
Round 7: Veracity attacks!
Round 8: ed the undying (2) takes 47 damage.
You lose 7 hit points
Round 8: Veracity attacks!
Round 9: ed the undying (2) takes 46 damage.
Round 9: Veracity wins the fight!
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 26 Muscleboundness
You gain a Muscle point!
You gain 35 Mysteriousness
You gain 33 Roguishness
Encounter: Ed the Undying
Round 0: Veracity wins initiative!
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
Round 4: ed the undying (3) takes 41 damage.
Round 4: Veracity attacks!
Round 5: ed the undying (3) takes 53 damage.
Round 5: Veracity attacks!
Round 6: ed the undying (3) takes 42 damage.
Round 6: Veracity attacks!
Round 7: ed the undying (3) takes 53 damage.
Round 7: Veracity wins the fight!
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 21 Strongness
You gain 30 Mysteriousness
You gain 42 Roguishness
Encounter: Ed the Undying
Round 0: Veracity wins initiative!
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
Round 4: ed the undying (4) takes 59 damage.
Round 4: Veracity attacks!
Round 5: ed the undying (4) takes 52 damage.
Round 5: Veracity wins the fight!
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 21 Strengthliness
You gain 32 Magicalness
You gain 41 Smarm
You gain a Moxie point!
Encounter: Ed the Undying
Round 0: Veracity wins initiative!
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
Round 4: ed the undying (5) takes 45 damage.
Round 4: Veracity attacks!
Round 5: ed the undying (5) takes 54 damage.
Round 5: Veracity wins the fight!
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 21 Muscleboundness
You gain 32 Magicalness
You gain 41 Cheek
Encounter: Ed the Undying
Round 0: Veracity wins initiative!
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
You lose 6 hit points
Round 4: Veracity attacks!
Round 5: ed the undying (6) takes 52 damage.
Round 5: Veracity wins the fight!
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 24 Beefiness
You gain 34 Wizardliness
You gain a Mysticality point!
You gain 36 Roguishness
Encounter: Ed the Undying
Round 0: Veracity wins initiative!
Round 1: Veracity casts ENTANGLING NOODLES!
Round 2: Frumious Grrl grabs the end of one of the noodles in his mouth and gleerfully stromples around your opponent, pulling the noodles even tighter.
Round 2: Veracity uses the rock band flyers!
Round 3: Veracity attacks!
Round 4: ed the undying (7) takes 47 damage.
Round 4: Veracity wins the fight!
After Battle: Frumious Grrl greams happily, baring a mouthful of scarpy teeth.
You gain 23 Muscleboundness
You gain 23 Wizardliness
You gain 46 Chutzpah
You acquire an item: Holy MacGuffin
You acquire an item: handful of confetti
 

Theraze

Active member
This may have partially fixed when Ed (1) was marked as a real mob, instead of failing because he doesn't have a number on his picture. Before, he was an unknown mob, and that may have done odd things... Unfortunately I think I'm still a day or two away from being able to verify again, but I think this can probably be marked as closed now, based on Veracity's combat log?
 

StDoodle

Minion
I'd say so; I fought Ed yesterday, and I did pay attention to his stats. HP at least behaved properly, which further suggests things are fixed.
 
Top