[1.7.4] [Online Events] Plumpkin and May the 4th events can show up in campaigns where they won't work

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
ScienceBall
Higher
Posts: 52
Joined: Thu Jun 10, 2021 12:58 pm

[1.7.4] [Online Events] Plumpkin and May the 4th events can show up in campaigns where they won't work

#1 Post by ScienceBall »

I read the code for the Plumpkin and May the 4th events (among other events). As far as I can tell, you can get the Plumpkin and May the 4th events while playing the Infinite Dungeon campaign, and you can get the May the 4th event while playing the Arena campaign. (I think you won't get the Plumpkin event in the Arena campaign because the Arena campaign doesn't have birth.grab_online_event_zone defined, which I think is the correct behaviour.)

However, these events won't work right in the ID campaign, because they only spawn the Hallowed Ghosts or Stormtroopers in zones where canBe("worldport"), and the Infinite Dungeon is no_worldport. Therefore I think that either the condition for spawning the enemies should be changed, or these 2 events should be disabled in the ID campaign. If this was fixed by changing the condition to accommodate for the ID, there would be a second issue: You have to kill 4 Hallowed Ghosts to get 4 clues so that you can enter the portal to the Hallowed Fields, and only 1 ghost spawns on each floor of each zone. But in the ID campaign, portals to online events spawn 1-4 floors deeper than the player currently is (at random). So if the portal spawned 1-3 floors deeper, the player could not get 3 clues before descending past the portal and being unable to return. It would only be possible to enter the portal 25% of the time, when the portal spawned 4 floors deeper. (Similarly, the player might be below character level 15, so ghosts don't spawn.) Therefore, to make the event work in the ID campaign, it might be necessary to defer choosing a portal location until after all 4 clues are collected. Or it might be easier to just disable the Plumpkin event in the ID campaign, or omit the Hallowed Ghost part.

Also, the May the 4th event won't work right in the Arena campaign, because the Arena is no_worldport, and also you never change zones (or floors), and so no Stormtroopers will spawn. To fix this, you could disable this event in the Arena campaign, or maybe you could special-case it to spawn one Stormtrooper per wave or something?

Post Reply