4.2.0 dragons and all monsters with innate abilities

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PowerWyrm
    Prophet
    • Apr 2008
    • 2987

    4.2.0 dragons and all monsters with innate abilities

    There was a change that separated innate abilities and spells, but I think there was a slight overlook.

    Before:
    - spell-freq:N (1/N chance)
    - innate spells: I1 I2... Ix
    - spells: S1 S2... Sy

    After:
    - innate-freq: roughly N*(x+y)/x
    - spell-freq: roughly N*(x+y)/y

    This works fine for isolated mobs, but for monster bases I don't know...

    For example:

    1) young red dragon: SCARE + BR_FIRE
    innate: 15, spells: 20

    2) young MHD dragon: SCARE + BR_FIRE/COLD/ELEC/ACID/POIS
    innate:8, spells: 50

    This reflects what used to be in the past (a young MHD dragon had more chances to breathe since spell was chosen in a big pool of BR effects). Is a young red dragon more "scary"? I don't think so...

    That's why the frequencies should probably be the same for all dragons, so they would choose SCARE identically and use breath as often, with choice of breath being different for each dragon.
    PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
  • PowerWyrm
    Prophet
    • Apr 2008
    • 2987

    #2
    Another problem: mob has a frequency of 1 + ARROW and a bunch of spells. Initially it would cast 100% of the time and pick ARROW 1/n times. Now what to do? If you put innate=n-1 and spells=1 it would never use ARROW since it checks spells first. So in the choice of what to cast, there need to be a double check instead of a simple check, a bit like what is done for "cut" and "stun" during a monster attack: make check for innate + spells, if one succeeds and not the other choose that one, if none succeeds don't cast, if both succeed choose innate or spell randomly.
    PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎