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

Actually, this is still copy-paste from my first implementation which consists of old code by rsa, I rewritten a few things but kept this one, I wasn't sure how to store these guids. Imho adding some "dummy" entry to enum would be ok, like CHEST_SAURFANG_CACHE and then simply:

> case CHEST_10: case CHEST_10_H: case CHEST_25: case CHEST_25_H: m_mGoStorage[CHEST_SAURFANG_CACHE] = pGo->GetObjectGuid();

and with this we would use DoRespawnGO(CHEST_SAURFANG_CACHE);

About respawning chest, I will use the method provided by scriptedinstance of course ;)