Forum > Miscellaneous
[SOLVED] [QUESTION] Problems with Custom Spell
<< < (3/3)
Vortalex:
If you'd like, I can send you a copy of my spell.dbc and you can take a look at the row? It can't be too trivial, I'm just a bit inexperienced.
Ascathos:
You can send it to me if you want.
XxXGenesisXxX:
I have made 100's of custom spells for many many many different effects and purposes, even added some things to the spell.dbc on WoWDev myself, it is accurate, you are just doing something wrong.
--- Code: ---uint32 powerType; // 41 m_powerType uint32 manaCost; // 42 m_manaCost uint32 manaCostPerlevel; // 43 m_manaCostPerLevel --- End code ---
powerType is your mana, manaCost and manaCost per level are NOT what make the cost, or atleast they appear to be over-written by:
--- Code: ---uint32 ManaCostPercentage; // 204 m_manaCostPct --- End code ---
Gun requirement is not attribute based it's:
--- Code: ---int32 EquippedItemClass; // 68 m_equippedItemClass (value) int32 EquippedItemSubClassMask; // 69 m_equippedItemSubclass (mask) --- End code ---
The range probably isn't showing up because your Targets is probably set wrong.
--- Code: ---uint32 Targets; // 16 m_targets --- End code ---
http://www.pxr.dk/wowdev/wiki/index.php ... bc/Targets
Uses 100% energy looks like a description but could very well be a SpellEffect. Need more info on it.
I don't even know where to start on the attributes...
AttEx0 =
--- Code: --- SPELL_ATTR0_REQ_AMMO = 0x00000002, // 1 on next ranged SPELL_ATTR0_ABILITY = 0x00000010, // 4 client puts 'ability' instead of 'spell' in game strings for these SPELL_ATTR0_NOT_SHAPESHIFT = 0x00010000, // 16 Not while shapeshifted SPELL_ATTR0_IMPOSSIBLE_DODGE_PARRY_BLOCK = 0x00200000, // 21 Cannot be dodged/parried/blocked --- End code ---
AttEx1 =
--- Code: ---SPELL_ATTR1_DISMISS_PET = 0x00000001, // 0 for spells without this flag client doesn't allow to summon pet if SPELL_ATTR1_CANT_BE_REDIRECTED = 0x00000008, // 3 SPELL_ATTR1_UNK4 = 0x00000010, // 4 stealth and whirlwind SPELL_ATTR1_MELEE_COMBAT_START = 0x00000200, // 9 player starts melee combat after this spell is cast --- End code ---
AttEx3 =
--- Code: ---SPELL_ATTR3_DEATH_PERSISTENT = 0x00100000, // 20 Death persistent spells --- End code ---
AttEx4 =
--- Code: ---SPELL_ATTR4_TRIGGER_ACTIVATE = 0x00000200, // 9 initially disabled / trigger activate from event (Execute, Riposte SPELL_ATTR4_USABLE_IN_ARENA = 0x00020000, // 17 --- End code ---
AttEx5 =
--- Code: ---SPELL_ATTR5_SINGLE_TARGET_SPELL = 0x00000020, // 5 Only one target can be apply at a time --- End code ---
All round those attributes spell; wtf...?
What exactly is your spell meant to do?
EDIT: Also, everything listed is 0 based.
Vortalex:
I fixed it.
Vortalex:
Problem solved, thanks.
Navigation
[0] Message Index
[*] Previous page
|