User talk:Ge0ff

From CrawlWiki
Revision as of 21:43, 29 August 2019 by Spudwalt (talk | contribs) (Source code links: new section)
Jump to: navigation, search

XP values

Where are you getting updated XP values for monsters from? I've looked through some of the files and stuff on the github site, but I haven't been able to find experience yields yet. --spudwalt (talk) 01:42, 25 May 2018 (CEST)

Monsters don't have fixed XP values. The XP value is dynamic: it depends on the monster's max HP, HD, speed, spell set, etc. For instance, an orc wizard can give 33-43 XP. If you need the details, check the exper_value() function in mon-util.cc (https://github.com/crawl/crawl/blob/stone_soup-0.21/crawl-ref/source/mon-util.cc#L2312)
I use XP values from the Gretell IRC bot. You can query it on the ##crawl channel (http://webchat.freenode.net/?channels=%23%23crawl). Usage is @?monster, for example, @?pandemonium lord. The bot gets the information from the monster utility which is a part of the DCSS codebase. When you query it for the monster's stats it creates 100 monsters and returns the average values (https://github.com/crawl/crawl/blob/stone_soup-0.21/crawl-ref/source/util/monster/monster-main.cc#L810). Ge0ff (talk) 11:24, 25 May 2018 (CEST)
Ah, thanks! That's exactly what I was looking for. --spudwalt (talk) 17:37, 25 May 2018 (CEST)

Source code links

Just wanted to make sure I let you know how much I appreciate you going to the trouble of putting those links to the source code into articles. Good work! --spudwalt (talk) 22:43, 29 August 2019 (CEST)