This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [Require Help] - Flags for Cast Time on Spells.  (Read 1232 times)

Malkorak

  • Contributors
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
[Require Help] - Flags for Cast Time on Spells.
« on: February 05, 2014, 01:03:32 pm »
Greetings.

I'm pretty new here and I'm seeking some help.

I'm trying to change the Heroic Strike from Warrior. I want to change the spell cast time from "Next Melee" to "Instant", anyone have any idea what column in Spell.DBC can that be? I cannot figure out. It would be great if someone would be able to guide me.

Thanks a lot.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [Require Help] - Flags for Cast Time on Spells.
« Reply #1 on: February 05, 2014, 08:42:17 pm »
Here are some information.
http://www.wowdev.wiki/index.php ... .3.5.12340
http://www.wowdev.wiki/index.php ... tTimes.dbc
These two tables must be exactly what you need.

Regards, Skarn.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [Require Help] - Flags for Cast Time on Spells.
« Reply #2 on: February 05, 2014, 09:36:05 pm »
Next melee is one of the attribute flags, can't remember off the top of my head which one it is, and to make it cast time of 0, I believe the spellcasttime index is 0.  But I don't have my notebook in front of me
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: [Require Help] - Flags for Cast Time on Spells.
« Reply #3 on: February 05, 2014, 09:56:46 pm »
The ID for instant cast is 1. Set that to column 12 (or 13, or whatever column comes after the hexadecimal entries)

Also if deep6ixed is right, you'll probably be okay deleting all of the attribute flags if you just want it for visual purposes.
But always keep backups of your work just in case :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [Require Help] - Flags for Cast Time on Spells.
« Reply #4 on: February 06, 2014, 07:55:47 am »
Looking at this spell using SpellWork, (Spell 78: Heroic Strike) Changing it from Next Melee Attack to Instant cast would break the function of the spell.  It adds 11 to the next swing of the weapon, shifting it to an instant cast would mean it only does 11 damage, ever.  you would have to add a second effect to actually deal the normal weapon damage.

But to change it from an instant cast, change the Attributes column from 0x50014 to 0x50010, this will make it a stand alone spell.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »