Difference between revisions of "User talk:Ge0ff"

From CrawlWiki
Jump to: navigation, search
(Source code links: new section)
Line 8: Line 8:
  
 
::Ah, thanks! That's exactly what I was looking for. [[User:Spudwalt|--spudwalt]] ([[User talk:Spudwalt|talk]]) 17:37, 25 May 2018 (CEST)
 
::Ah, thanks! That's exactly what I was looking for. [[User:Spudwalt|--spudwalt]] ([[User talk: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! [[User:Spudwalt|--spudwalt]] ([[User talk:Spudwalt|talk]]) 22:43, 29 August 2019 (CEST)

Revision as of 22:43, 29 August 2019

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)