google-code-export / oregoncore

Automatically exported from code.google.com/p/oregoncore
GNU General Public License v2.0
1 stars 0 forks source link

All mobs are ignoring spell_script_target table #446

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
All mobs are ignoring spell_script_target table
They beat themselves by spells even if spell has a record in 
spell_script_target table
For example:
Kil'Jaeden's "Flame Dart", Honor Hold Archer's "Shoot Bow", Wildhammer Scout's 
"Throw Hammer", "Akama Soul Retrieve Channel" and other.

For "Akama Soul Retrieve Channel" I tried to create a mob with entry 99999 and 
then write a record in spell_script_target table for this spell+mob
INSERT INTO `world`.`spell_script_target`(`entry`,`type`,`targetEntry`) VALUES 
( '40902','1','99999'); 

but nothing happens
Even me could not cast this spell to this mob
Spell hit me instead of the mob

Slightly different situation with "Shoot bow"
I can cast this spell to the mob specified in spell_script_target, but mobs 
ignoring this record

Core 1459
ODB 0.0.7 1/3
OS Windows 7 x64

Original issue reported on code.google.com by cubikrub...@gmail.com on 7 Sep 2011 at 5:52

GoogleCodeExporter commented 9 years ago
Tried to use spell_script_target table for spell 38034 (Blue Beam)
Target 21506 (Azaloth)

INSERT INTO `world`.`spell_script_target`(`entry`,`type`,`targetEntry`) VALUES 
( '38034','1','21506');
Nothing happens
Cast hit me (if no one targeted) or hit Azaloth or another mob (only if he 
targeted)

Original comment by cubikrub...@gmail.com on 7 Sep 2011 at 7:31