Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 17, 2019, 14:44   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,701
PowerWyrm is on a distinguished road
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 http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old December 17, 2019, 17:03   #2
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,701
PowerWyrm is on a distinguished road
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 http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Poschengband: list of human abilities? Brouhaha Variants 17 December 25, 2018 22:50
Effect of abilities on free attacks Philip Sil 4 October 23, 2013 08:23
Sil: What are the weakest abilities? half Sil 40 June 17, 2013 20:24
Vanilla 3.2.0, resistances and abilities Timo Pietilš Development 20 December 28, 2010 14:57
Random abilities and 3.1.2 Timo Pietilš Development 9 June 13, 2010 20:19


All times are GMT +1. The time now is 09:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.