User talk:Ge0ff
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)
Armour/shields penalties
Hi! Regarding this, would you be able to take a pass through the information we have about the penalties for armour and shields? Armour talks about EV and spellcasting at the beginning, but later in the article mentions stealth and accuracy as well. Armour (skill) doesn't mention accuracy at all. Are the formulas on Encumbrance rating what are actually used?
Shields (skill) and Shields talk about EV, spellcasting, accuracy, and attack speed, but Kite shield only mentions accuracy, evasion, and spellcasting; Buckler just refers to "attack and spellcasting penalties"; and Tower shield only says "attack penalties". Emufarmers (talk) 02:09, 4 July 2020 (CEST)
- If you want to know how armour and shields really work, you could use wiz-mode and check the source code.
- You could try wearing different armours and shields and check what happens when your character has different values for Armour and Shields skills. fsim could help you to see changes in accuracy and attack speed.
- I recommend this site for searching through commit history and for grepping the source code. For example, if you search for armour penalty, you get only a few results, and the 2nd one, in attack.cc, would be the one you need. You could open that file on GitHub, if you prefer having syntax highlighting. In attack.cc, attack::calc_to_hit() computes an attacker's to-hit, and you could see all the parameters that affect player's accuracy there. Ge0ff (talk) 21:09, 6 July 2020 (CEST)