| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
random2(y) < x checks, e.g. x_chance_in_y(weight, totalweight). This
should make things a bit more readable. Apply it to a number of files.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6428 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4693 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4589 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
rare and let the chance depend on max hp. Clean up naming some.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4588 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
to avoid conflict with VC++ direct.h header.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4390 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3861 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
monsters::upgrade_type(), as it's more accurate, allow it to adjust HD
as well as HP, and do the latter when promoting to a priest, to make
sure that it ends up with the proper HD.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3860 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3859 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as picking one randomly, fix a potential problem with the display of the
blessing message, and add a piety-dependent chance that followers will
be specifically blessed when gaining levels.
Hook the last of these up to Beogh for now (since the random chance on
piety gain occurs less and less often as piety goes up). TSO should
also get this eventually.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3821 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
repertoires. If they can cast spells like Summon Demon, Banishment,
Hellfire, or Bolt of Draining, they're evil.
Additions: draconian shifter, draconian scorcher, deep elf mage, deep
elf summoner, deep elf conjurer, ogre-mage, wizard, Josephine, Louise,
and Wayne.
Removals: deep elf annihilator. It has no evil spells, and if Vehumet,
the god who gives you the Book of Annihilations, is no longer considered
evil, then neither should it.
Also, allow deep elf conjurers to level up into deep elf sorcerers, and
deep elf summoners to level up to deep elf demonologists.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3790 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
| |
monster_polymorph(), as it still doesn't do everything needed. Replace
it with monsters::change_type(), split out from
monsters::level_up_change(), which does do everything needed, and in a
cleaner way. Unfortunately, it's still a hack, but it should be easier
to deal with for now. Sorry for the mess.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3783 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
huge number of files. Also correct file name comments.
No coding changes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3539 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
up one HD, and factored in XL in Beogh orc spontaneous conversion.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2607 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
gain for monsters, duration of orc battle cries and removed use of invocations to determine the success of spontaneous orc conversion.
Fixed monsters getting bad experience values.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2586 c06c8d41-db1a-0410-9941-cceddc491573
|
|
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2584 c06c8d41-db1a-0410-9941-cceddc491573
|