spaceninjaserver / SpaceNinjaServer

A simple server for a small space ninja game
GNU General Public License v3.0
67 stars 38 forks source link

Unique missions in Duviri don't give special resources #561

Open VampireKitten opened 4 days ago

VampireKitten commented 4 days ago

This Kullervo mission...

RewardInfo: {
    EOM_AFK: 0,
    node: 'SolNode236',
    JobTier: -5,
    EncounterEnemyLevel: 5000,
    T: 15,
    CheckpointCounter: 59
  },

Rewarded normal resources, rather than Kullervo's Banes:

2024-10-18T00:40:13:126 [0.1.0] debug:  Mission rewards: {
  '0': {
    type: '/Lotus/StoreItems/Types/Gameplay/Duviri/Resource/DuviriPlantItemA',
    itemCount: 1,
    probability: 0.22
  }
 }

Same occurred with the special portal giving neither Pathos Clamps nor an Eidolon Arcane, but I realized too late to figure out what the RewardInfo was for it.

Sainan commented 4 days ago

At first glance I'd say this is not enough information to implement this.

VampireKitten commented 4 days ago

T seems to be marking what type of reward it's meant to be given, as T: 1 is always used for "default" common decree+random resource reward, T: 5 seems to be for "main quest" Undercroft that gives Rare Decree, and T: 15 is Kullervo. I'll add the numbers for the rest of the Undercroft Portals and the end boss once I reach them, and do a second run to see if they're consistent.

Sainan commented 4 days ago

Hmm, then it might refer to the tier of the missiondeck/droptable, in which case ExportRewards is a bit inadequate in this area and would need to be improved to add this extra dimensionality for duviri.

VampireKitten commented 4 days ago

T: 70 appears to be the final Orowyrm chest. T: 13 seems to be the extra Undercroft Portals. All tested in Normal Path, I presume the Undercroft Portals have a different Tier in Steel Path since they reward exclusive Duviri Arcanes in Steel Path. Got a T: 2 after Feeding the Maw that gave me a Rare Decree.

Given how the reward seems to be setup, is it possible it's also used for the various Bounty systems across Open Worlds and Zariman/Laboratories?

Sainan commented 4 days ago

Well, the bounty reward tiers are already handled correctly in ExportRewards, iirc.

VampireKitten commented 3 days ago

Bounties appear to use "JobStage" instead, alongside "jobId". I believe jobId was also present for Duviri, but it was in a separate section and always reported back the spiral, which doesn't affect the rewards as far as I know. This is from the "Prove Yourself" bounty in Cetus, with Q I believe being whether you completed the secondary objective or not:

RewardInfo: {
    EOM_AFK: 0,
    node: 'SolNode228',
    JobTier: -2,
    jobId: '/Lotus/Types/Gameplay/Eidolon/Jobs/NewbieJob_-2_CetusHub4',
    JobStage: 0,
    Q: true,
    CheckpointCounter: 2
  },