It is currently 18 Jun 2025, 00:34
   
Text Size

Shandalar - Program Bugs

Harbor Serpent could not attack even when there were 5 Islands on the battlefield (fix completed)

 

I arranged the lands on the battlefield to show this better. My Harbor Serpent does not have summoning sickness, there are five islands out but I can't choose to attack with it. The AI did not attack with one either on some previous turn(s).

Harbor Serpent.jpg


Maybe the game counts islands in the wrong areas, or it misses Islands 'created' by Spreading Seas?
Last edited by Korath on 21 Aug 2015, 07:07, edited 3 times in total.
Reason: Component Individual Card->Duel Engine, version Thieves Hideout 1->Ruined Tower 2

Comments

Posted by Korath » 21 Aug 2015, 07:01

Nothing to do with Spreading Seas, no. It's that none of the four number_basic_landtype(), controls_basic_landtype(), number_snow_landtype(), or controls_snow_landtype() questions properly deals with the pseudo-value "ANYBODY" for their player parameter. Surprisingly, Harbor Serpent is the only card where I attempted to use them this way.

(They actually used to work properly, all the way back in RT1, when they still forwarded to the fully-generic number_on_battlefield()/any_on_battlefield() functions. Starting in RT2, they started using the much-faster values cached in basiclandtypes_controlled[][]).

Either way, it's still a problem with the engine, rather than the single card, though.
Last edited by Korath on 21 Aug 2015, 07:06, edited 1 time in total.

Posted by Korath » 24 Aug 2015, 17:37

commit 77700de51809cae7f4c7a1e920183e14ebb4e3e8
Author: Korath <dgk@Dirge.none>
Date: Mon Aug 24 13:35:41 2015 -0400

[LT] FIX #699: controls_basic_landtype(), number_basic_landtype() accept ANYBODY

Posted by Korath » 24 Aug 2015, 17:41

commit a89eecea70a3851622d7d643d4fd73327030a0af
Author: Korath <dgk@Dirge.none>
Date: Mon Aug 24 13:40:27 2015 -0400

[TH] #699: merge 77700de; number_snow_landtype & controls_snow_landtype +ANYBODY

Ticket details

  • Ticket ID: 699
  • Project: Shandalar
  • Status: Fix completed
  • Component: Duel Engine
  • Project version: Ruined Tower 2
  • Priority: Normal
  • Severity: Normal
  • Assigned to: Korath
  • Reported by: jiansonz
  • Reporter's tickets: List all tickets
  • Reported on: 20 Aug 2015, 20:53
  • Last visited by Korath » 26 Oct 2015, 08:59.
 

Main Menu

User Menu

Our Partners


Login Form