nosas / OmniToon

[WIP] ToonTown AI - Python Plays ToonTown
3 stars 0 forks source link

Multiple Toons luring the same trapped Cog causes the Cog to activate the Trap and get lured again #72

Closed nosas closed 3 years ago

nosas commented 3 years ago

Example scenario

[>] "Toon#1" (100/69hp) +2 Trap exp (lvl 1 Trap "Rake" ((1, 1), 20dmg)) against [lvl 2 "Flunky" (-18/12hp)]
[>] "Toon#2" (100/69hp) +5 Squirt exp (lvl 4 Squirt "Fire Hose" ((5, 4), 30dmg)) against [lvl 8 "HeadHunter" (-23/90hp)]

[>] "Toon#1" (100/69hp) +2 Lure exp (lvl 1 Lure "Small Magnet" ((2, 1), 0dmg)) against [lvl 2 "Flunky" (-18/12hp), lvl 8 "HeadHunter" (-23/90hp)]  
------------- Cog activates Trap here, takes damage, no longer Lured 

[>] "Toon#2" (100/65hp) +6 Lure exp (lvl 5 Lure "Hypno-goggles" ((2, 5), 0dmg)) against [lvl 2 "Flunky" (-18/12hp), lvl 8 "HeadHunter" (-23/90hp)] 
------------- Cog is Lured again