scriptdev2 / scriptdev2-classic

ScriptDev2 for Classic
http://www.scriptdev2.com
GNU General Public License v2.0
38 stars 38 forks source link

BWL Suppression Device #32

Open Metalica opened 9 years ago

Metalica commented 9 years ago

Suppression Device is missing skill: Suppression Aura (ID: 22247) and only rogue can deactivate it.

Refence: http://www.wowwiki.com/Suppression_Device

xfurry commented 9 years ago

Poke @cala This looks like a DB issue as GO 179784 has wrong faction in classic DB. Please update from UDB.

UPDATE gameobject_template SET faction=14 WHERE entry=179784;

Also poke @grz3s The same gameobject has wrong radius in UDB. So please update from classic DB or check in sniff if available.

UPDATE gameobject_template SET data2=20 WHERE entry=179784;
Grz3s commented 9 years ago

i have no acces to sniff from BWL - ill be more than happy if someone can provide that data ;) so I can update it. Edit: thx to person who gave me this info:

Entry: 179784 Unk1 Byte: True Unk1 UInt32: 174 Type: Trap (6) Display ID: 5874 [0] Name: Suppression Device [1] Name: [2] Name: [3] Name: Icon Name: Cast Caption: Unk String: [0] Data: 2123 [1] Data: 0 [2] Data: 0 [3] Data: 22247 [4] Data: 0 [5] Data: 0 [6] Data: 3600000 [7] Data: 0 [8] Data: 0 [9] Data: 0 [10] Data: 0 [11] Data: 0 [12] Data: 0 [13] Data: 0 [14] Data: 0 [15] Data: 0 [16] Data: 0 [17] Data: 0 [18] Data: 0 [19] Data: 0 [20] Data: 0 [21] Data: 0 [22] Data: 0 [23] Data: 0 [24] Data: 0 [25] Data: 0 [26] Data: 0 [27] Data: 0 [28] Data: 0 [29] Data: 0 [30] Data: 0 [31] Data: 0 [32] Data: 0 Size: 1 QuestItems Length: 0 Expansion: WorldOfWarcraft (0)

@xfurry are u sure that we should change data2 ?

xfurry commented 9 years ago

This is strange... Then I can't imagine how are the traps triggered if the radius is 0. Maybe you can find more details in the sniff for this.

Metalica commented 9 years ago

Checked and your fixes does not work.

ghost commented 9 years ago

Wasn't there a thing in classic about some GOs using spells in an unusual way? Like the GO used for spawning whelps in the Onyxia encounter. Can this be something similar to that, where there's a spell is being casted via the GO using some script?

Schmoozerd commented 9 years ago

@xfurry spell 22247 has a 20y radius, i think this is taken if trap-radius == 0.

@k59 onyxia / brs whelps have the issue that the eggs acutally should summon a go that blizz does not send to the clients, hence it does not exist in any (proper) database. This GO (most likely) should then cast the actual summoning spell..

xfurry commented 9 years ago

@Schmoozerd good catch :+1: I will make some research, but I think that your proposal is valid.

xfurry commented 9 years ago

After some some small research I think it might not work this way for all the GOs with 0 radius. If you research all the GOs that have spells or value in the spell slot, you'll see that very few spells have radius.

select entry, name, faction, flags, data3, data2 from gameobject_template a
  where type=6
  and data3 <> 0
  and data2 = 0
  order by entry