Skip to content

Commit

Permalink
Fix console error due to missing serverside on chess
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 10, 2017
1 parent 6b23140 commit d91e395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions sql/base/dbc/cmangos_fixes/Spell.sql
Expand Up @@ -370,4 +370,7 @@ INSERT INTO spell_template (id, attributes, attributesEx, attributesEx2, Casting
(23325, 8388992, 0, 1, 1, 101, 1, 61, 0, 0, 0, 8454, 1, 'Dragondog Breath Selection (R4)', 1),
(23326, 8388992, 0, 1, 1, 101, 1, 61, 0, 0, 0, 8455, 1, 'Dragondog Breath Selection (R5)', 1);

-- missing chess event triggered spell serverside
INSERT INTO spell_template(Id,Attributes,rangeIndex,Effect1,Effect2,EffectImplicitTargetA1,EffectImplicitTargetA2,EffectImplicitTargetB1,EffectImplicitTargetB2,EffectRadiusIndex1,EffectRadiusIndex2,SpellIconID,SpellName,DmgMultiplier1,DmgMultiplier2) VALUES
(39399,256,7,3,3,18,18,8,8,15,15,1,'Is Square OCCUPIED (DND)',1,1);

2 changes: 0 additions & 2 deletions src/game/Spells/SpellAuras.cpp
Expand Up @@ -1555,8 +1555,6 @@ void Aura::TriggerSpell()
// case 37440: break;
// // Karazhan - Chess NPC AI, action timer
// case 37504: break;
// // Karazhan - Chess: Is Square OCCUPIED aura (DND)
// case 39400: break;
// // Banish
// case 37546: break;
// // Shriveling Gaze
Expand Down

2 comments on commit d91e395

@Fra298
Copy link

@Fra298 Fra298 commented on d91e395 Nov 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InstallFulldb.sh is returning this error after this commit :

> Trying to apply c:/mangos/mangos-wotlk//sql/base/dbc/cmangos_fixes ... Appending CMaNGOS DBC file fixes Spell.sql to database mangos_wowtlk ERROR 1062 (23000) at line 370: Duplicate entry '39399' for key 'PRIMARY' ERROR: cannot apply c:/mangos/mangos-wotlk//sql/base/dbc/cmangos_fixes/Spell.sql
Hope it's the right place to report.

@killerwife
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, TBC apparently is missing the spell but WOTLK has it. Maximum confusion :D

Please sign in to comment.