Difference between revisions of "Talk:Valkyrie"
Jump to navigation
Jump to search
(use the source, Luke!) |
(correction: you won't start with randomly-cursed gear) |
||
Line 8: | Line 8: | ||
The sword, dagger and shield have <code>UNDEF_BLESS</code>, so their [[BUC]] should be randomly determined, as though the item had been randomly placed. Check [[mkobj.c#mksobj]] if you want to figure out the exact probabilities. -- [[User:Killian|Killian]] 23:29, 16 October 2006 (UTC) | The sword, dagger and shield have <code>UNDEF_BLESS</code>, so their [[BUC]] should be randomly determined, as though the item had been randomly placed. Check [[mkobj.c#mksobj]] if you want to figure out the exact probabilities. -- [[User:Killian|Killian]] 23:29, 16 October 2006 (UTC) | ||
+ | |||
+ | :Correction: [[u_init.c#ini_inv]] automatically sets cursed items to uncursed, so you won't start with cursed gear. -- [[User:Killian|Killian]] 23:11, 17 October 2006 (UTC) |
Revision as of 23:11, 17 October 2006
There's no need to sample a role's starting equipment when you can just check in u_init.c to find what the actual starting equipment is. It happens to be the following: (u_init.c#line153, u_init.c#line719)
- a +1 long sword
- a +0 dagger
- a +3 small shield
- an uncursed food ration
- an uncursed oil lamp (1/6 chance)
The sword, dagger and shield have UNDEF_BLESS
, so their BUC should be randomly determined, as though the item had been randomly placed. Check mkobj.c#mksobj if you want to figure out the exact probabilities. -- Killian 23:29, 16 October 2006 (UTC)
- Correction: u_init.c#ini_inv automatically sets cursed items to uncursed, so you won't start with cursed gear. -- Killian 23:11, 17 October 2006 (UTC)