Permalink
Browse files

DB/Spell: Fixed EFFECT BIND position for "Teach: Death Gate".

Ref #8590
  • Loading branch information...
1 parent e3924a5 commit e1cf3683a916a49934389effdf73df7b2332e0ef @Kinzcool Kinzcool committed Mar 24, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 sql/updates/world/2013_03_24_00_world_spell_target_position.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_target_position` WHERE `id`=53821;
+INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
+(53821, 609, 2359.64, -5662.41, 382.261, 0.596899); -- Teach: Death Gate

2 comments on commit e1cf368

Member

joschiwald replied Mar 29, 2013

i got this startup error

2013-03-29_22:46:03 ERROR [SQL] Spell (Id: 53821) listed in `spell_target_position` expected point to zone 4342 bit point to zone 4356.
Member

Kinzcool replied Mar 30, 2013

Yeah.. @Vincent-Michael already told me that, and I don't get it at all...

Effect 0: Id 36 (SPELL_EFFECT_LEARN_SPELL)
BasePoints = 40582
Targets (25, 0) (TARGET_UNIT_TARGET_ANY, NO_TARGET)
   Trigger spell (50977) Death Gate. Chance = 0
   Description: Opens a gate which the Death Knight can use to return to Ebon Hold.

Effect 1: Id 11 (SPELL_EFFECT_BIND)
BasePoints = 0
Targets (25, 17) (TARGET_UNIT_TARGET_ANY, TARGET_DEST_DB)
EffectMiscValueA = 4342

Spellwork says indeed zone 4342, but the position is from sniff, so I don't know why the core is erroring.

ServerToClient: SMSG_SPELL_GO (0x6425) Length: 67 ConnectionIndex: 2 Time: 03/16/2012 22:17:15.945 Number: 48715
Caster GUID: Full: 0xF13071F5000B5975 Type: Unit Entry: 29173 (Highlord Darion Mograine) Low: 743797
Caster Unit GUID: Full: 0xF13071F5000B5975 Type: Unit Entry: 29173 (Highlord Darion Mograine) Low: 743797
Cast Count: 0
Spell ID: 53821 (Teach: Death Gate)
Cast Flags: Unknown3, Unknown7 (264)
Time: 0
Time2: 496374484
Hit Count: 1
[0] Hit GUID: Full: 0x000000000000000 Type: Player Low: xxx Name: xxx
Miss Count: 0
Target Flags: Unit, DestinationLocation (66)
Target GUID: Full: 0x000000000000000 Type: Player Low: xxx Name: xxx
Destination Transport GUID: 0x0
Destination Position: X: 2359.64 Y: -5662.41 Z: 382.261
Unk Byte 2: 8
Please sign in to comment.