Skip to content

Commit

Permalink
Northrend/Borean: Add weather setting to q.11961
Browse files Browse the repository at this point in the history
- also unused text removed
  • Loading branch information
Grz3s authored and killerwife committed Oct 15, 2023
1 parent 8332763 commit bdd6684
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ void world_map_northrend::SetData64(uint32 data, uint64 value)
{
switch (data)
{
case 11961: // Spirits Watch Over Us
if (value) // 1 turn on weather
instance->SetZoneWeather(0, 4040, 8, 1.f);
else // 0 turn off weather
instance->SetZoneWeather(0, 4040, 0, 0.f);
break;
case 12537: // Lightning Definitely Strikes Twice
if (value) // 1 turn on weather
instance->SetZoneWeather(0, 4306, 5, 1.f);
Expand Down

0 comments on commit bdd6684

Please sign in to comment.