[4.0.6a] Spell.dbc ->  Dispel type?  School of spell? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [4.0.6a] Spell.dbc -> Dispel type? School of spell?

    So I've been poking around in Spell.dbc - WoW.Dev Wiki and have come quite a ways in pulling all spell information directly from the Spell DBC.

    I was hoping I could et some help on the last few things I need to stop using wowhead completely (yes I used to pull all spell information directly from wowhead, sucks, but it worked).

    Specifically, I'm looking for dispel type/spell type (meaning: Magic, Poison, Curse, Disease). Pre-4.x there was a dispelType, which I no longer see. And it looks like looking at the Category is a dead end (it was for me).

    And lastly, school (i.e. Holy, Shadow, etc...). I thought schoolMask may help, but unfortunately I couldn't find a pattern. For a priest it seemed most holy spells were of category 2, and shadow as 32 or 48. But then when I log onto a rogue, all spells are a 1. So I don't think this is conclusive.

    Does anyone have any ideas or know where these items are w/in the DBC? Even pointing me towards a function to reverse would be helpful, I couldn't find any lua functions that return this info.

    Thanks in advance!
    https://tanaris4.com

    [4.0.6a] Spell.dbc ->  Dispel type?  School of spell?
  2. #2
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With Cataclysm, lots of this stuff has been removed from the big-ass Spell.dbc and split off into smaller DBCs. See attached screenshot (just take the route down from the UnitAura LUA function).


  3. #3
    Scorpiona's Avatar Active Member
    Reputation
    17
    Join Date
    Mar 2009
    Posts
    42
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dispel type can be found using the SpellCategories DBC (Spell.dbc records should have an index to their SpellCategories entry)

    edit: Caytchen beat me to it
    Last edited by Scorpiona; 02-14-2011 at 03:44 PM.

  4. #4
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the quick response, I'll check again. Guess I was doing something wrong in what I was writing.

    Any idea on the spell school?

    Edit: SpellCategoriesDBTable vs. SpellCategoryDBTable is important
    Last edited by Tanaris4; 02-14-2011 at 03:40 PM.
    https://tanaris4.com

  5. #5
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post

    Any idea on the spell school?
    Isn't there still SchoolMask in Spell struct (struct may be a bit outdated, but not much)?

  6. #6
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a SchoolMask, but it doesn't really make a lot of sense, or I haven't figured it out. I printed out the school mask along w/the spell name and it semi-worked. But you don't know what mask means what.

    For example, all shadow priest spells have a SchoolMask of 32. Yet Mind Spike (also shadow, right?) is 48.

    Then if you look at rogue spells, they're all 1. So I'm a bit confused as to what it means.

    Ideally I'd like to be able to separate them based on which tab they are in on the spell book. (i.e. Holy vs. Disc vs. Shadow). Think this is possible w/o hard coding a table?
    https://tanaris4.com

  7. #7
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    There is a SchoolMask, but it doesn't really make a lot of sense, or I haven't figured it out. I printed out the school mask along w/the spell name and it semi-worked. But you don't know what mask means what.

    For example, all shadow priest spells have a SchoolMask of 32. Yet Mind Spike (also shadow, right?) is 48.

    Then if you look at rogue spells, they're all 1. So I'm a bit confused as to what it means.

    Ideally I'd like to be able to separate them based on which tab they are in on the spell book. (i.e. Holy vs. Disc vs. Shadow). Think this is possible w/o hard coding a table?
    48=32+16

    SCHOOL_MASK_NONE = 0x00;
    SCHOOL_MASK_PHYSICAL = 0x01;
    SCHOOL_MASK_HOLY = 0x02;
    SCHOOL_MASK_FIRE = 0x04;
    SCHOOL_MASK_NATURE = 0x08;
    SCHOOL_MASK_FROST = 0x10;
    SCHOOL_MASK_SHADOW = 0x20;
    SCHOOL_MASK_ARCANE = 0x40;

  8. #8
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I love you, so much, sir.
    https://tanaris4.com

Similar Threads

  1. [Client] What is the difference between these spell types in Spell.dbc?
    By namreeb in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 02-28-2012, 02:50 AM
  2. Aura Dispel Type anyone?
    By Hyru in forum WoW Memory Editing
    Replies: 5
    Last Post: 10-21-2010, 11:19 PM
  3. [DBC Edit] Random Spells *New Video*
    By Glitchy in forum World of Warcraft Model Editing
    Replies: 19
    Last Post: 03-21-2008, 05:03 AM
  4. Release: Spell.dbc
    By meinson in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 11-13-2007, 04:09 PM
  5. Spell/skill names, in which DBC to be found?
    By Avelon in forum WoW ME Questions and Requests
    Replies: 8
    Last Post: 12-30-2006, 01:30 PM
All times are GMT -5. The time now is 12:21 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search