APN-Pucky / tyrant_optimize

MIT License
15 stars 7 forks source link

Poison redesign does not apply even when using "update-poison-after-attacked" flag #46

Closed TrevorNBudd closed 1 year ago

TrevorNBudd commented 1 year ago

Though the update-poison-after-attacked exists, it has no effect. The old poison behaviour remains. The result are the same as when not using the flag or using the no-update-poison-after-attacked flag. Basically, it seems it has not been implemented yet.

TUO v4.8.0> .\tuo-debug.exe "Petrisis[1198], Manus Grappler" "Halcyon, Furrage Test" +v sim 1 update-poison-after-attacked
Your Deck:1: Deck: OFhBFDh
Petrisis, Manus Grappler
Petrisis: hp:60 legend bloodthirsty, Rally 5, Enrage 5, Enfeeble all 4
  Manus Grappler: 5/12/1 bloodthirsty, Payback 4, Legion 4, Poison 4

Enemy's Deck:1: Deck: EAhGdCi
Halcyon, Furrage Test
Halcyon: hp:61 legend imperial, Enhance all Stasis 9, Rally all imperial 6, Enrage imperial 10
  Furrage Test: 1/200/3 imperial, Enrage 3

RNG seed 2685252176
------------------------------------------------------------------------
TURN 1 begins for P0 Commander [Petrisis hp:60]
P0 Commander [Petrisis hp:60] plays Assault 0 [Manus Grappler: 5/12/1 bloodthirsty, Payback 4, Legion 4, Poison 4]
TURN 1 ends for P0 Commander [Petrisis hp:60]
------------------------------------------------------------------------
TURN 2 begins for P1 Commander [Halcyon hp:61]
P1 Commander [Halcyon hp:61] plays Assault 0 [Furrage Test: 1/200/3 imperial, Enrage 3]
TURN 2 ends for P1 Commander [Halcyon hp:61]
------------------------------------------------------------------------
TURN 3 begins for P0 Commander [Petrisis hp:60]
P0 Assault 0 [Manus Grappler att:[[5(base)]]=5 hp:12 cd:1] reduces its timer
P0 Commander [Petrisis hp:60] Rally 5 on P0 Assault 0 [Manus Grappler att:[[5(base)]]=5 hp:12]
P0 Commander [Petrisis hp:60] Enrage 5 on P0 Assault 0 [Manus Grappler att:[[5(base)]+5(temp)]=10 hp:12]
P0 Commander [Petrisis hp:60] Enfeeble 4 on P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:200 cd:3]
P0 Assault 0 [Manus Grappler att:[[5(base)]+5(temp)]=10 hp:12, enraged 5] attacks P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:200 cd:3, enfeebled 4] for 10+4(enfe
ebled)=14 damage
P0 Assault 0 [Manus Grappler att:[[5(base)]+5(temp)]=10 hp:12, enraged 5] poisons P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:186 cd:3, enfeebled 4] by 4

// Poison applied by attacker. It should apply when attacked.

TURN 3 ends for P0 Commander [Petrisis hp:60]
------------------------------------------------------------------------
TURN 4 begins for P1 Commander [Halcyon hp:61]
P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:186 cd:3, poisoned 4] reduces its timer
P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:186 cd:2, poisoned 4] takes poison damage 4

// Full poison damage done, but poison not removed. It should be half poison removed and applied as damage.

TURN 4 ends for P1 Commander [Halcyon hp:61]
------------------------------------------------------------------------
TURN 5 begins for P0 Commander [Petrisis hp:60]
P0 Commander [Petrisis hp:60] Rally 5 on P0 Assault 0 [Manus Grappler att:[[5(base)+[5(perm)]]]=10 hp:12]
P0 Commander [Petrisis hp:60] Enrage 5 on P0 Assault 0 [Manus Grappler att:[[5(base)+[5(perm)]]+5(temp)]=15 hp:12]
P0 Commander [Petrisis hp:60] Enfeeble 4 on P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:182 cd:2, poisoned 4]
P0 Assault 0 [Manus Grappler att:[[5(base)+[5(perm)]]+5(temp)]=15 hp:12, enraged 5] attacks P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:182 cd:2, enfeebled 4, poi
soned 4] for 15+4(enfeebled)=19 damage
TURN 5 ends for P0 Commander [Petrisis hp:60]
------------------------------------------------------------------------
TURN 6 begins for P1 Commander [Halcyon hp:61]
P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:163 cd:2, poisoned 4] reduces its timer
P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:163 cd:1, poisoned 4] takes poison damage 4
TURN 6 ends for P1 Commander [Halcyon hp:61]
------------------------------------------------------------------------
TURN 7 begins for P0 Commander [Petrisis hp:60]
P0 Commander [Petrisis hp:60] Rally 5 on P0 Assault 0 [Manus Grappler att:[[5(base)+[10(perm)]]]=15 hp:12]
P0 Commander [Petrisis hp:60] Enrage 5 on P0 Assault 0 [Manus Grappler att:[[5(base)+[10(perm)]]+5(temp)]=20 hp:12]
P0 Commander [Petrisis hp:60] Enfeeble 4 on P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:159 cd:1, poisoned 4]
P0 Assault 0 [Manus Grappler att:[[5(base)+[10(perm)]]+5(temp)]=20 hp:12, enraged 5] attacks P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:159 cd:1, enfeebled 4, po
isoned 4] for 20+4(enfeebled)=24 damage
TURN 7 ends for P0 Commander [Petrisis hp:60]
------------------------------------------------------------------------
TURN 8 begins for P1 Commander [Halcyon hp:61]
P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:135 cd:1, poisoned 4] reduces its timer
P1 Commander [Halcyon hp:61] Rally 6 on P1 Assault 0 [Furrage Test att:[[1(base)]]=1 hp:135, poisoned 4]
P1 Commander [Halcyon hp:61] Enrage 10 on P1 Assault 0 [Furrage Test att:[[1(base)]+6(temp)]=7 hp:135, poisoned 4]
P1 Assault 0 [Furrage Test att:[[1(base)]+6(temp)]=7 hp:135, poisoned 4, enraged 10] attacks P0 Assault 0 [Manus Grappler att:[[5(base)+[15(perm)]]]=20 hp:12] for 7 d
amage
P1 Assault 0 [Furrage Test att:[[1(base)+[10(perm)]]+6(temp)]=17 hp:135, poisoned 4, enraged 10] takes poison damage 4

// Poison not applied to card when it attacks the card with poison. Nor is there evidence of stacking.

TURN 8 ends for P1 Commander [Halcyon hp:61]
------------------------------------------------------------------------
TURN 9 begins for P0 Commander [Petrisis hp:60]
P0 Commander [Petrisis hp:60] Rally 5 on P0 Assault 0 [Manus Grappler att:[[5(base)+[15(perm)]]]=20 hp:5]
P0 Commander [Petrisis hp:60] Enrage 5 on P0 Assault 0 [Manus Grappler att:[[5(base)+[15(perm)]]+5(temp)]=25 hp:5]
P0 Commander [Petrisis hp:60] Enfeeble 4 on P1 Assault 0 [Furrage Test att:[[1(base)+[10(perm)]]]=11 hp:131, poisoned 4]
P0 Assault 0 [Manus Grappler att:[[5(base)+[15(perm)]]+5(temp)]=25 hp:5, enraged 5] attacks P1 Assault 0 [Furrage Test att:[[1(base)+[10(perm)]]]=11 hp:131, enfeebled
 4, poisoned 4] for 25+4(enfeebled)=29 damage
TURN 9 ends for P0 Commander [Petrisis hp:60]
APN-Pucky commented 1 year ago

Yep, that was on my side. I added all options first update-poison-after-attacked should do something from version 6.2.0 on. The update-corrosive does not do anything yet, but other options should have an effect.