Magic system thoughts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mangojuice
    Z+Angband Maintainer
    • Jun 2008
    • 318

    Magic system thoughts

    So lately, for Z+, I've been thinking about a major change in the magic system. Here's the big idea:

    1. There would be more spells available. Instead of 8 spells per book, the books would have 12-11-9-8 spells; so 23/40 are in the common books.
    2. Characters will have a cap on the total number of spells they can learn. So although there are 40 spells per realm, for instance, a Priest can only learn 60 spells among the two schools. So, you are forced to make choices.
    3. In addition, you can spend a spell slot on "spell focus" instead, where you don't learn a new spell but instead can cast an old spell better: less mana, more power, and less failure.
    4. Once you have learned a spell you can never unlearn it. You can "forget it" if you lose levels, but it will be restored when you regain the level.
    5. In addition, the cost/level of learning values will be normalized. Each spell will have internal values, and these will be adjusted in an algorithmic way based on your class. This eliminates guessing about classes... and while we're on it, has pointed out a number of badly out of balance level/cost settings. (Example: Resistance True is a level 15 spell for Mages, but a level *35* spell for Rangers, while Rangers generally don't do much worse than Mages in their spell progression.)

    This attempts to address many game balance issues at once:

    1. Certain realm pairs overlap so much, it creates a significant disincentive. This way, if your realms overlap, you can use your spell slots on the non-overlapping spells and not suffer... or use your slots on focusing on the things you do well.
    2. People have complained that spells aren't as good as missile weapons. In Z+, missile weapons are a little less nasty in the first place... but maybe now spells can compete better, when you focus them.
    3. Class balance: High Mages can be allowed to learn all the spells in their one realm, while Mages can be restricted to, I'm thinking, 85%. This along with their faster learning rate and lower mana costs can balance things out better, making High Mages more attractive.
    4. I have some sweet ideas for new spells but it's really hard to remove old spells.

    This will be a big change, though. Anyone see any game balance issues I should be wary of?
    -----------------------------------------
    Z+Angband: A Zangband evolution
    http://tinyurl.com/5pq2bd
  • Pete Mack
    Prophet
    • Apr 2007
    • 6883

    #2
    I think this is probably a bad idea:

    .
    5. In addition, the cost/level of learning values will be normalized. Each spell will have internal values, and these will be adjusted in an algorithmic way based on your class. This eliminates guessing about classes... and while we're on it, has pointed out a number of badly out of balance level/cost settings. (Example: Resistance True is a level 15 spell for Mages, but a level *35* spell for Rangers, while Rangers generally don't do much worse than Mages in their spell progression.)
    In V at least, utility spells are generally cheap for rogues and expensive for rangers. Buffing spells are the reverse. And Rangers tend to have an easy time with Acid spells, but hard with Fire. It's not a big deal, but it's nice to have a little flavor.

    Comment

    • Mangojuice
      Z+Angband Maintainer
      • Jun 2008
      • 318

      #3
      Originally posted by Pete Mack
      I think this is probably a bad idea:



      In V at least, utility spells are generally cheap for rogues and expensive for rangers. Buffing spells are the reverse. And Rangers tend to have an easy time with Acid spells, but hard with Fire. It's not a big deal, but it's nice to have a little flavor.
      I have a system for dealing with that kind of thing, but I'm not sure how specific to make it. One thing I noticed, for instance, was that Mages get Identify (in Sorcery) very early compared with other classes, even adjusting for different spell acquisition rates. I see the point... but this had an unfortunate side effect, which was that the spells after Identify were often pushed back much further than they should have been just to compensate for what was essentially a single penalty.

      Basically, what I was intending on doing to be more specific:

      Mages / High mages get mana cost bonuses to ID/*ID*/mapping spells.

      Rogues and Monks get mana cost penalties to attack spells.

      Priests and Paladins get power (duration) bonuses to buffing spells.

      Rogues get power penalties across the board; this makes their attack spells and buffing spells less effective.

      Also, each class has a set of bonuses/penalties for each distinct magic realm; so for instance, Priests get level, cost, and power bonuses to Life magic, but penalties elsewhere, which makes them better at healing magic without having to have a separate rule.

      So there's still flavor. But I do want more feedback on what kind of flavor there should be. I haven't written code for the data structures yet, and I need to plan that out.
      -----------------------------------------
      Z+Angband: A Zangband evolution
      http://tinyurl.com/5pq2bd

      Comment

      • pampl
        RePosBand maintainer
        • Sep 2008
        • 225

        #4
        I think one big consequence would be that people would try to skip most low level spells. Detection and Clairvoyance make every other detection spell else obsolete, especially if you can reduce their cost. Same thing with a couple buffs and nearly all healing and attack spells. That's not necessarily bad- the player would be forced to make a tough strategic choice between something that can save his bacon now or trying to hold off for a bigger reward. The down side is that you'd see a lot of mages running around with long bows and staves of detection. You could make the weaker spells prerequisites for the bigger spells to force spell casters to actually cast the occasional spell, but that might effectively confine the choices and sort of defeat the purpose.

        Comment

        • Pete Mack
          Prophet
          • Apr 2007
          • 6883

          #5
          this is why I don't think it's a good idea. You are putting logic into the program, where previously it was data-driven. It's a relative lot of effort for little gain. If you want to do this, you should follow unangband's model of generating the data files automatically, then using that. It's more flexible, and probably easier.

          Comment

          • Mangojuice
            Z+Angband Maintainer
            • Jun 2008
            • 318

            #6
            Originally posted by Pete Mack
            this is why I don't think it's a good idea. You are putting logic into the program, where previously it was data-driven. It's a relative lot of effort for little gain. If you want to do this, you should follow unangband's model of generating the data files automatically, then using that. It's more flexible, and probably easier.
            Sigh. I guess you're right. I suppose it takes a bit more memory that way but ultimately no big deal, and it does give me fine-tune control for any specific alterations. And it does make coding this much easier.
            -----------------------------------------
            Z+Angband: A Zangband evolution
            http://tinyurl.com/5pq2bd

            Comment

            • Mangojuice
              Z+Angband Maintainer
              • Jun 2008
              • 318

              #7
              Originally posted by pampl
              I think one big consequence would be that people would try to skip most low level spells. Detection and Clairvoyance make every other detection spell else obsolete, especially if you can reduce their cost. Same thing with a couple buffs and nearly all healing and attack spells. That's not necessarily bad- the player would be forced to make a tough strategic choice between something that can save his bacon now or trying to hold off for a bigger reward. The down side is that you'd see a lot of mages running around with long bows and staves of detection. You could make the weaker spells prerequisites for the bigger spells to force spell casters to actually cast the occasional spell, but that might effectively confine the choices and sort of defeat the purpose.
              Yeah, I think that is the big difficulty. The question is, what spells will be important enough at low / medium levels that you wouldn't want to do without them. Because focusing on a late-game spell could be very powerful. And, will there be enough important spells?

              I'm not a big fan of prerequisites, but perhaps I will make the spell limit separated by power level of the spell. So, for instance, you get at most 8 slots for lvl 1-50 spells, at most 16 for lvl 1-40, et cetera, something like that.

              I don't mind encouraging some min-maxing, but it should be under control. I want people to have flexibility.
              Last edited by Mangojuice; October 10, 2008, 13:36.
              -----------------------------------------
              Z+Angband: A Zangband evolution
              http://tinyurl.com/5pq2bd

              Comment

              • andrewdoull
                Unangband maintainer
                • Apr 2007
                • 872

                #8
                Originally posted by Mangojuice
                So lately, for Z+, I've been thinking about a major change in the magic system. Here's the big idea:

                1. There would be more spells available. Instead of 8 spells per book, the books would have 12-11-9-8 spells; so 23/40 are in the common books.
                2. Characters will have a cap on the total number of spells they can learn. So although there are 40 spells per realm, for instance, a Priest can only learn 60 spells among the two schools. So, you are forced to make choices.
                3. In addition, you can spend a spell slot on "spell focus" instead, where you don't learn a new spell but instead can cast an old spell better: less mana, more power, and less failure.
                4. Once you have learned a spell you can never unlearn it. You can "forget it" if you lose levels, but it will be restored when you regain the level.

                ...

                This will be a big change, though. Anyone see any game balance issues I should be wary of?
                As someone else has pointed out, this penalizes people who attempt to learn low level spells in favour of waiting for higher level spells.

                I've done a lot of thinking about magic systems (see my blog for details), and I think you're going to do OK, this way. I can offer the following concrete suggestions that might help improve things:

                1. More spells available is a good thing; however make sure they're not just iterations of Water / Fire / Acid Bolt in various shapes. Instead each element should have its own set of attack shapes unique to that element.

                2. Cap the total number of spells learnt, by making higher level spells cost more 'study points'. Levels 1-9 cost 1 study point, 10-19 cost 2 study points and so on. Either that or restrict the number of different spells that can be learnt in each band: e.g. you can only learn 8 spells of level 1-9, 8 of level 10-19 and so on.

                3. Don't bother with spell focus: just add improved versions of a spell with a pre-requisite that the worse version has to be learnt first. It has the same effect with an easier to understand interface.

                4. Allow players to change (re-spec) which spells they can learn; but only at an Inn, Magic Guild or another hard to reach place, where they can't exploit this. Maybe make forgetting a spell a store service.
                This allows the player to change spells if they find a spell particularly useless.


                Andrew
                The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
                In UnAngband, the level dives you.
                ASCII Dreams: http://roguelikedeveloper.blogspot.com
                Unangband: http://unangband.blogspot.com

                Comment

                • Mangojuice
                  Z+Angband Maintainer
                  • Jun 2008
                  • 318

                  #9
                  Originally posted by andrewdoull
                  As someone else has pointed out, this penalizes people who attempt to learn low level spells in favour of waiting for higher level spells.

                  I've done a lot of thinking about magic systems (see my blog for details), and I think you're going to do OK, this way. I can offer the following concrete suggestions that might help improve things:

                  1. More spells available is a good thing; however make sure they're not just iterations of Water / Fire / Acid Bolt in various shapes. Instead each element should have its own set of attack shapes unique to that element.
                  The new spells will not disappoint. I try to make sure each spell fills a game niche of some kind. Example: One of the new Chaos spells I have in mind, Immolation, gives you an aura of fire for 20-40 turns. Against a monster that is actually wailing on you, I think this compares quite nicely to a fire bolt.. but the damage it does is much less immediate than a fire bolt, and requires you to be hit. Another Chaos spell, Ray of Frost, is a low-range frost bolt doing low damage (1d4 + lev/3, I think), but it costs no mana at all. It has its place: it's an alternative to Magic Missile that is inferior in the long term but probably superior at low levels, which is when magic missile is most important anyway. Other realms were easier than Chaos, because so much of Chaos is attack spells, which can get very repetitive.

                  4. Allow players to change (re-spec) which spells they can learn; but only at an Inn, Magic Guild or another hard to reach place, where they can't exploit this. Maybe make forgetting a spell a store service.
                  This allows the player to change spells if they find a spell particularly useless.
                  I thought about this, but I think it's broken. Many spells fill a niche need that expires at a certain point in the game. For instance, low-level healing spells are of some use early in the game but are quite useless later. So you should be cautious in learning them, especially multiple ones, because you'll be stuck with them. But if this mechanic is available, it's like there's no real downside. It would have to be rare or expensive enough that even top-level characters can't reliably access it... on the level of a potion of new life, maybe, or maybe a chaos patron reward.

                  That said, I think that if your choice of learning a spell is irrevocable, it's only fair that you get a complete description of the spell before you choose to learn it.

                  I'll check out your blog.
                  Last edited by Mangojuice; October 10, 2008, 18:39.
                  -----------------------------------------
                  Z+Angband: A Zangband evolution
                  http://tinyurl.com/5pq2bd

                  Comment

                  • buzzkill
                    Prophet
                    • May 2008
                    • 2939

                    #10
                    Originally posted by Mangojuice
                    That said, I think that if your choice of learning a spell is irrevocable, it's only fair that you get a complete description of the spell before you choose to learn it.
                    Wouldn't that be nice, a browse-able short description before you learn the spell. And in addition, a more complete description once the spell is learned (maybe a paragraph, for some spells).

                    When I first started playing FA I never bothered learning Detect Evil (assuming it worked much like in AD&D). I just didn't see the point in determining if a particular creature was evil or not before killing it.
                    www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
                    My banding life on Buzzkill's ladder.

                    Comment

                    • Mangojuice
                      Z+Angband Maintainer
                      • Jun 2008
                      • 318

                      #11
                      quality of damage spells

                      So Z+ 0.3.0 is going to be released soon, and I'm tweaking the magic system.

                      I started looking at the damage spells, broadly, trying to get an idea of which spells are going to be appealing and which ones aren't. At first, I was going on mana efficiency: basically D/M where D is damage and M is the mana the spell costs. But this measure doesn't give a good metric for the quality of a spell, really. If two spells do the same amount of damage, it makes a good comparison: I'd rather do 100 damage for 20 mana than 110 for 35 mana, clearly. But 100 damage for 20 mana seems to have its place in the game when compared to, say, 10 damage for 1 mana, because the raw amount of damage you can do with the 100-damage spell makes it useful against dangerous enemies, while the 10 damage for 1 mana spell is nearly useless.

                      So I figured that what I should really be comparing is D^2 / M, which takes cost-effectiveness into account, but also rewards high damage spells for the speed of the damage they deal.

                      I just wanted to throw this idea out there, especially for those of you who are designers. I found that this measure seems to give me numbers I can use to compare spell quality that matches my intuition as a player.
                      -----------------------------------------
                      Z+Angband: A Zangband evolution
                      http://tinyurl.com/5pq2bd

                      Comment

                      • ekolis
                        Knight
                        • Apr 2007
                        • 921

                        #12
                        Heh, so that explains the new first chaos spell... at first I was like "WTF this must be a BUG! An attack spell I can cast for FREE!"

                        Then I realized it's far less effective than magic missile (though it is a beam, unlike magic missile), so it's really only good for getting rid of pesky low level critters

                        I would suggest though that the targeting code shouldn't let you aim spells at tiles that are out of range (e.g. Ray of Frost at a critter 9+ tiles away), just so you don't waste a turn (and possibly some mana) casting in futility I'd suggest just blocking the cursor from leaving the radius of the spell, and possibly dimming the tiles that are out of range? (The dimming might be handy for LOS/infinite-range spells too, so you can see what will/can be hit )
                        You read the scroll labeled NOBIMUS UPSCOTI...
                        You are surrounded by a stasis field!
                        The tengu tries to teleport, but fails!

                        Comment

                        • Mangojuice
                          Z+Angband Maintainer
                          • Jun 2008
                          • 318

                          #13
                          Originally posted by ekolis
                          Heh, so that explains the new first chaos spell... at first I was like "WTF this must be a BUG! An attack spell I can cast for FREE!"

                          Then I realized it's far less effective than magic missile (though it is a beam, unlike magic missile), so it's really only good for getting rid of pesky low level critters
                          It's not really a beam. It stops at the first monster it hits... but, annoyingly, it does hit all the spaces on the floor until then. So it's as good as a bolt for attacking monsters, but as bad as a beam for wrecking stuff on the floor.

                          But I think it is still quite a powerful spell, even if it's only of much use early on. Think of it as a substitute for your crappy melee ability.

                          I would suggest though that the targeting code shouldn't let you aim spells at tiles that are out of range (e.g. Ray of Frost at a critter 9+ tiles away), just so you don't waste a turn (and possibly some mana) casting in futility I'd suggest just blocking the cursor from leaving the radius of the spell, and possibly dimming the tiles that are out of range? (The dimming might be handy for LOS/infinite-range spells too, so you can see what will/can be hit )
                          You can target stuff out of range with normal spells too; it's actually important to be able to, because of the target tracking thing. Plus, I figure if the monster you want to hit is 9+ tiles away, you can stand to waste a turn.
                          -----------------------------------------
                          Z+Angband: A Zangband evolution
                          http://tinyurl.com/5pq2bd

                          Comment

                          • Donald Jonker
                            Knight
                            • Jun 2008
                            • 593

                            #14
                            Originally posted by Mangojuice
                            You can target stuff out of range with normal spells too; it's actually important to be able to, because of the target tracking thing. Plus, I figure if the monster you want to hit is 9+ tiles away, you can stand to waste a turn.
                            I agree with ekolis about the dimming. In a game with so many open spaces I find that I'm targeting stuff out of range, whether with bows or spells, about 50% of the time. It'd be nice to not have to constantly count tiles in the wilderness and big open levels. If your ammo is at all valuable or your spell with a large enough SP cost, it's a big deal - you really can't afford to whiff when casting powerful spells at uniques, for instance.
                            Bands, / Those funny little plans / That never work quite right.
                            -Mercury Rev

                            Comment

                            • buzzkill
                              Prophet
                              • May 2008
                              • 2939

                              #15
                              Originally posted by Donald Jonker
                              I agree with ekolis about the dimming. In a game with so many open spaces I find that I'm targeting stuff out of range, whether with bows or spells, about 50% of the time. It'd be nice to not have to constantly count tiles in the wilderness and big open levels. If your ammo is at all valuable or your spell with a large enough SP cost, it's a big deal - you really can't afford to whiff when casting powerful spells at uniques, for instance.
                              I second the motion. You may need to target further out than the spells actual range, in order to hit some nasty hiding around a corner or between a couple of trees. Turns in Angband are precious (especially in combat situations), and shouldn't be wasted. I see no down side to the dimming of tiles outside of the spells range.

                              It would also help newbs who don't know range of a particular spell, rather than leaving them wondering why the hell nothing happened (other than the loss of mana).

                              Plus, I figure if the monster you want to hit is 9+ tiles away, you can stand to waste a turn.
                              Wouldn't this be better placed in the 'bad advice' thread.
                              www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
                              My banding life on Buzzkill's ladder.

                              Comment

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