UESP Forums

Discuss the uesp.net site and Elder Scrolls topics.
* FAQ    * Search
* Register    * Login
It is currently Thu Nov 21, 2024 9:58 am

Loading

All times are UTC

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Anyone know how monster LOOT drops work?
PostPosted: Sat Feb 13, 2021 10:50 pm 
Offline
Apprentice
Apprentice
User avatar

Joined: Mon Nov 09, 2020 3:36 am
Posts: 157
ES Games: Arena,Daggerfall,Oblivion,Skyrim,ESO
Platform: PS3,PS4,PC,MAC
UESPoints: 0
Comparing info on OpenTESArena's wiki and the info on UESP added by KShrimp in 2017 and the info is pretty close, but with a few missing pieces of information. (On UESP for Fire Daemon and Homoculus it says Loot=none, but that was a mistaken edit I made. They were originally blank. It looks like it was information that was simply overlooked or skipped at the time.)

My two questions are:
  • Why/How is gold different than the others?
  • How is a Monster's Level considered for loot drops?

What I seem to know:
OpenTESArena's wiki points to 0x3B135 as the start for the percent chance of monster loot drops using DWORDs for each monster. Comparing that to UESP's info and it matches up that a DWORD has 4 bytes and each byte represents a % chance for a monster to drop a certain type of loot. (Gold / magic item or potion / low quality item / magic armor or weapon) These are in the sort order for Monsters: (Rat, Goblin, Lizard Man, Wolf, Snow Wolf, Orc, Skeleton, Minotaur, Spider, Ghoul, Hell Hound, Ghost, Zombie, Troll, Wraith, Homonculus, Ice Golem, Stone Golem, Iron Golem, Fire Daemon, Medusa, Vampire, Lich).

After lining up the code with the monsters, we see that the first 4 bytes (DWORD) aren't used (at least not with the monster list) and the DWORD for RAT starts at 0x3B139. Ignoring the first byte for GOLD at the moment, you can simply convert the rest of the bytes from HEX to DECIMAL and they match KShrimps edits as % chance of those types of loot drops from those monsters.

The two oddities:
  • You can't just change the % chance of magic item for a RAT and get magic items. It also requires the rat's LEVEL to be raised.
    • Monster Levels are single bytes starting at 0x42096 and are sorted by the monster list.
  • %chance for GOLD is all wacky.
    • I don't know how KShrimp arrived at those values
    • Although in the code the %chance seems to increase with the monster difficulty, KShrimp's edit seem to reflect closer to what actually happens. From HEX 0..32 (DEC 0..50) the percent change increases. From HEX 32..64 (DEC 50..100) the percent chance decreases. Where a value equals a 50% chance for other items to drop, it is approximately a 25% max chance for GOLD drops and if the value is higher the %chance lowers from 25% down to 0%.

_________________
"Such theorizing is best left to the Scrollkeepers of the Imperial City or the Psijics of the Isle of Artaeum. Tamriel is what it is." - Daggerfall User's Guide


Top
 Profile  
 
 Post subject: Re: Anyone know how monster LOOT drops work?
PostPosted: Sun Feb 14, 2021 7:23 pm 
Offline
Champion
Champion
User avatar

Joined: Sun Aug 27, 2017 6:25 pm
Posts: 878
Location: South Carolina
ES Games: Arena, Daggerfall, Battlespire, Redguard, Morrowind, Oblivion, Skyrim, ESO, Legends, Blades
Platform: PC, Mac, iPad
Status: Breathing, presumed conscious
Other Profiles: SeaGtGruff (Steam), TinklyGosling47 (Xbox)
UESPoints: 20
Regarding Fire Daemons and Homonculi, anything that disappears and leaves no corpse when you kill it cannot be looted, so I'm not sure what you mean by "that was a mistaken edit." What was the mistake?

_________________
ESO mains: Michel Shaldon (PC NA), Miguel Outrider (PC EU)


Top
 Profile  
 
 Post subject: Re: Anyone know how monster LOOT drops work?
PostPosted: Mon Feb 15, 2021 2:52 am 
Offline
Apprentice
Apprentice
User avatar

Joined: Mon Nov 09, 2020 3:36 am
Posts: 157
ES Games: Arena,Daggerfall,Oblivion,Skyrim,ESO
Platform: PS3,PS4,PC,MAC
UESPoints: 0
My main meaning was that I changed it from BLANK to "NONE" because of my assumption. You are correct that they disappear and then you can't loot them which in effect equals "none". So that doesn't seem to be an assumption. However, in the code, having all 0's equals none. So a Rat, Wolf, Snow Wolf, Hell Hound, Ghost, and Wraith have all 0's and drop no loot or gold. Yet Homonculus has code for dropping GOLD and a Fire Daemon has code for a chance to drop all categories.

In the Codex Scientia page 18, under GHOST, there is this sentance:
Quote:
Note: ghosts, like a couple of other monsters (wraith, homunculus, firedaemon, vampire, lich), vaporize after being killed. A nice spell to have available for such combats is a combination freeze/damage spell to cast when they are almost dead. With luck, the spell will kill and paralyze it simultaneously so it freezes before being completely vaporized and can thus be picked for treasure.

Even with this statement, the code won't allow Ghosts and Wraiths to drop anything. Perhaps this is why the other two were left blank, because the Code says it "could" drop, but to prove it one way or another you'd have to actually freeze it and get the loot. "Not" getting loot, could simply be you didn't hit it at just the right time. - You could prove you can get loot - if you actually got loot.....but it's harder to prove that you "can't". The argument will always be; "You proved you didn't, not that you can't. The Codex says it's possible, and the code seems to agree." That doesn't mean it actually works, but....I don't know.

_________________
"Such theorizing is best left to the Scrollkeepers of the Imperial City or the Psijics of the Isle of Artaeum. Tamriel is what it is." - Daggerfall User's Guide


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Sponsored Links

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group