Jump to content

[Bug] Target type TARGET_TABLE_X_Y_Z_COORDINATES doesn't work right


Xfurry
 Share

Recommended Posts

Mangos Version: 11844

Custom Patches: none

SD2 Version: 2328

Database Name and Version: UDB 402

There are a few spells which have the following target combination:

Effect 0: Id 3 (SPELL_EFFECT_DUMMY)

Targets (17, 0) (TARGET_TABLE_X_Y_Z_COORDINATES, NO_TARGET)

Effect 1: Id 28 (SPELL_EFFECT_SUMMON)

Targets (87, 86) (TARGET_SELF2, TARGET_RANDOM_NEARBY_DEST)

How it DOES work:

This can be found at spells 46037, 46038, 46039, 46040, and despite of the fact that they have the correct positions in spell_target_position table these spells won't summon the required npcs when casted near those positions (inside Sunwell Plateau instance). They won't do anything at all.

However if I try to cast them outside the instance, the npcs is summoned at a random location near the caster.

How it SHOULD work:

This should work this way: it should summon the npc at a random nearby position relative to the coordinates in DB.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use