michalpolko/scriptdev2 — comment on commit 4c5215841d4720a241c781f29592c617b5b896f5
File: scripts/northrend/icecrown_citadel/icecrown_citadel/instance_icecrown_citadel.cpp line 314
By Schmoozerd:

Actually here we finally come to the place where we must figure a nice way of handling 4-mode chest respawn
First way would be:
```
case CHEST_10: case CHEST_10_H: case CHEST_25: case CHEST_25_H: m_chestGuid = pGo->GetObjectGuid();
```
and then use the variable.
next would be:
```
case CHEST_10: case CHEST_10_H: case CHEST_25: case CHEST_25_H: m_mGoStorage[CHEST_10] = pGo->GetObjectGuid();
```
and then use: DoRespawnGO(CHEST_10)
and last would be
```
case CHEST_10: case CHEST_10_H: case CHEST_25: case CHEST_25_H: m_mGoStorage[pGo->GetEntry()] = pGo->GetObjectGuid();
```
and then use
```
uint32 aChests[] = {CHEST_10, CHEST...};
DoRespawnGO(aChests[instance->GetDifficulty()])
```