[DiscordArchive] If I want to change the display Id of a spell what column would it be in? Like if I wanted to change
[DiscordArchive] If I want to change the display Id of a spell what column would it be in? Like if I wanted to change
Archived author: Sicalicious • Posted: 2022-09-25T19:03:10.998000+00:00
Original source
If I want to change the display Id of a spell what column would it be in? Like if I wanted to change a druids morph display. Would it be in spellvisuals.dbc?
Archived author: stoneharry • Posted: 2022-09-25T19:04:24.541000+00:00
Original source
ICC is a good example since the lich king boss fight regularly changes lighting.
Running:
```sql
SELECT id,mapid,(17066-posZ/36) AS "x",(17066.666-posX/36) AS "y",(posY/36) AS "z",falloffStart,falloffEnd,paramsclear FROM light WHERE id IN (2488, 2490, 2508, 2509)
```
We can teleport to each of the dynamic light locations, and see they are placed on the edge of the map out of bounds of player reach.
During the encounter it calls:
```c++
me->GetMap()->SetZoneOverrideLight(AREA_ICECROWN_CITADEL, LIGHT_DEFAULT, LIGHT_SOULSTORM, 10s);`
```
Passing the zone, area as the default light, the override to use, and the transition time. For god knows what reason I _still_ cannot get mine to work, even though my lights are structured in the same way now. This is fiddly.
Archived author: <o> • Posted: 2022-09-25T19:06:42.708000+00:00
Original source
check the implementation for that zone override light function, for some reason i think i ended up writing the packet directly when i did it, but i'm not sure why i did that
Archived author: <o> • Posted: 2022-09-25T19:06:54.746000+00:00
Original source
might be something stupid core-side inside it
Archived author: stoneharry • Posted: 2022-09-25T19:07:37.272000+00:00
Original source
It must be a data issue since I can trigger the ICC lights on/off programatically
Archived author: stoneharry • Posted: 2022-09-25T19:07:58.952000+00:00
Original source
It basically only checks you are in the zone server side before sending
Archived author: <o> • Posted: 2022-09-25T19:10:47.653000+00:00
Original source
are you trying only iwth your custom things or have you tried something like overworld lights that don't normally switch? i'm very sure i at least managed to get the latter to work, i remember changing the skybox in dragonblight to something from zul'drak
Archived author: <o> • Posted: 2022-09-25T19:11:21.733000+00:00
Original source
there might be something fiddly about light id orders as well
Archived author: stoneharry • Posted: 2022-09-25T19:12:47.892000+00:00
Original source
I don't think that is possible since you cannot apply the ICC lights outside of the frozen throne area
Archived author: stoneharry • Posted: 2022-09-25T19:23:27.919000+00:00
Original source
Ok I take it back. You can apply the ICC lights on any map and they work.