User Tag List

Results 1 to 7 of 7

Thread: 2.50.3 Wand Magic Damage Not Scaling with Level/Damage Without Script

  1. #1
    Wizrobe Nightmare's Avatar
    Join Date
    Mar 2000
    Age
    38
    Posts
    2,461
    Mentioned
    38 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    3,398
    Level
    18
    vBActivity - Bars
    Lv. Percent
    73.08%
    Daily Activity
    0%
    Weekly Activity
    1.13%
    Monthly Activity
    2.77%

    Not A Bug 2.50.3 Wand Magic Damage Not Scaling with Level/Damage Without Script

    I was working on a new dungeon, and I gave Magic-dead Zols 16 HP with a Wand that does 4 Damage on the menu (or 8 HP) (default is 2). But when I fire off spells, the damage stays at 2 Damage (4 HP).

    This clearly should not happen. I want the wand magic damage to scale with the power of the wand.

    -James

    Facebook: http://www.facebook.com/nightmarejames YouTube: http://www.youtube.com/nightmarejames

    Game Projects
    Zelda Classic:
    Completed: Zelda NES Remastered, Demo 1st Quest, Demo 2nd Quest, James Quest: Remastered (V 2.1), Memorial Quest, New Quest 2 2015. New Quest: Rebuilt
    In development: Demo SP, James Quest: Remastered (V 3.0)t, 6QI

  2. #2
    Wizrobe Nightmare's Avatar
    Join Date
    Mar 2000
    Age
    38
    Posts
    2,461
    Mentioned
    38 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    3,398
    Level
    18
    vBActivity - Bars
    Lv. Percent
    73.08%
    Daily Activity
    0%
    Weekly Activity
    1.13%
    Monthly Activity
    2.77%
    This is also true in 2.50.2.

    -James

    Facebook: http://www.facebook.com/nightmarejames YouTube: http://www.youtube.com/nightmarejames

    Game Projects
    Zelda Classic:
    Completed: Zelda NES Remastered, Demo 1st Quest, Demo 2nd Quest, James Quest: Remastered (V 2.1), Memorial Quest, New Quest 2 2015. New Quest: Rebuilt
    In development: Demo SP, James Quest: Remastered (V 3.0)t, 6QI

  3. #3
    ZC Contirbutor ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,029
    Mentioned
    95 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,585
    Level
    19
    vBActivity - Bars
    Lv. Percent
    17.45%
    Daily Activity
    197.63%
    Weekly Activity
    29.38%
    Monthly Activity
    9.36%
    I could add a QR for it, and a rules set so that that rule is disabled for quests with a 2.50.2 header. 'Wand Projectile Damage Scales with Wand'; otherwise enabled by default.

    Knowing that it was changed/broken in 2.50.2 is useful. Thank you.

    Looking at the code again, the magic projectile power is set by either the Magic Book item, or the Wand item; but the magic book has priority:

    Code:
    int pow = (bookid != -1 ? current_item_power(itype_book) : itemsbuf[itemid].power)*DAMAGE_MULTIPLIER;
    I know that I addressed this in the past. I believe that the way this works in all 2.50.x versions, is that the Power of a the player's highest level Magic Book item replaces the Power of all Wand items.

    I need to check the 2.50.1 sources and see if it was changed there. No, it has not changed since 2.50.1.

    Note that this is something that I adjusted in the 2.54 sources a long while back.
    Last edited by ZoriaRPG; 08-28-2017 at 05:15 PM.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  4. #4
    Gel
    Join Date
    Sep 2015
    Posts
    17
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    160
    Level
    4
    vBActivity - Bars
    Lv. Percent
    65.41%
    Daily Activity
    0%
    Weekly Activity
    1.13%
    Monthly Activity
    5.4%
    It was true in 2.50.0 as well, and I made multiple Wand/Book items with that in mind. The setup remained functional in 2.50.2, and I didn't expect it should ever work any other way - the Wand damage setting for melee damage, and the Book damage setting for magic blast damage.

    Having just tried using the L2 Wand without the L1 Book, its magic damage suddenly matching its melee damage was a surprise to me.

    The problem in a situation like this is that, because the original game only had L1 for each item, we don't have an NES reference for what "clearly" should or shouldn't happen when a quest maker adds L2 items. I personally prefer them the way they are, as it gives the Books an actual useful purpose (to my goals, at least).

    I suppose you could make it an item setting as well, rather than a quest rule - have a checkbox in the Magic Book item editor saying "Book magic damage overrides Wand magic damage," or something to that extent.

    Either way, thanks for bringing this up. I've been doing an update to an old quest, and I'm going to account for this now.

  5. #5
    Nine-Tailed Goddess Tamamo's Avatar
    Join Date
    May 2011
    Location
    Kobe
    Age
    28
    Posts
    819
    Mentioned
    93 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,090
    Level
    22
    vBActivity - Bars
    Lv. Percent
    32.78%
    Daily Activity
    0%
    Weekly Activity
    1.13%
    Monthly Activity
    2.77%
    No need for a quest rule, just add a equipment flag.
    It's always been this way as far as the item editor is concerned.

  6. #6
    ZC Contirbutor ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,029
    Mentioned
    95 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,585
    Level
    19
    vBActivity - Bars
    Lv. Percent
    17.45%
    Daily Activity
    197.63%
    Weekly Activity
    29.38%
    Monthly Activity
    9.36%
    Quote Originally Posted by Tamamo View Post
    No need for a quest rule, just add a equipment flag.
    It's always been this way as far as the item editor is concerned.
    I have already modified the wand and book behaviour for the 2.54+ API spec. I'm not adding any changes to the item editor in 2.53; which is why I was going to add a rule bit for it, which would do a max() on the values. As long as it is not a new bug, I probably won't touch it.

    If we get 2.53 out this month, then I can focus on 2.54 for the winter (e.g. 'holiday') season, and add in new stuff like this. In that spec, there are damage values for melee and projectile on the wand, and damage values for the magic and the fire, for book items. I can add an override flag to books too, though. I'm not sure what approaches overkill with these options.

    I do think that the check for the wand power should do max(itemsbuf[wand].power, itemsbuf[book].power) to ensure that this does not occur, but some sadistic questmaker might rely on it to nerf the wand.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  7. #7
    Nine-Tailed Goddess Tamamo's Avatar
    Join Date
    May 2011
    Location
    Kobe
    Age
    28
    Posts
    819
    Mentioned
    93 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,090
    Level
    22
    vBActivity - Bars
    Lv. Percent
    32.78%
    Daily Activity
    0%
    Weekly Activity
    1.13%
    Monthly Activity
    2.77%
    @ZoriaRPG
    2.54 would make a excellent christmas present

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social