Difference between revisions of "User talk:Ge0ff"

From CrawlWiki
Jump to: navigation, search
(XP values: new section)
 
(XP values: Re: XP values)
Line 2: Line 2:
  
 
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. [[User:Spudwalt|--spudwalt]] ([[User talk:Spudwalt|talk]]) 01:42, 25 May 2018 (CEST)
 
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. [[User:Spudwalt|--spudwalt]] ([[User talk: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). [[User:Ge0ff|Ge0ff]] ([[User talk:Ge0ff|talk]]) 11:24, 25 May 2018 (CEST)

Revision as of 10:24, 25 May 2018

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)