# HG changeset patch # User Ritor1 # Date 1367406378 -21600 # Node ID ffc32cabc5f546689c4f518d6105660ffebe8bbc # Parent 530e3d5ab48d5bd5dd0e6ad953564dd9cd8b5323 Party conditions for debug menu diff -r 530e3d5ab48d -r ffc32cabc5f5 mm7_2.cpp --- a/mm7_2.cpp Wed May 01 16:04:50 2013 +0600 +++ b/mm7_2.cpp Wed May 01 17:06:18 2013 +0600 @@ -6867,10 +6867,78 @@ pParty->pPlayers[i].uSkillPoints = 50; return 0; - case 40044://conditions + case 40044://condition Afraid/fear pPlayers[uActiveCharacter]->pConditions[3] = 1; return 0; + case 40043://condition Asleep + pPlayers[uActiveCharacter]->pConditions[2] = 1; + return 0; + + case 40037://condition Curse + pPlayers[uActiveCharacter]->pConditions[0] = 1; + return 0; + + case 40036://condition Disease1 + pPlayers[uActiveCharacter]->pConditions[7] = 1; + return 0; + + case 40035://condition Disease2 + pPlayers[uActiveCharacter]->pConditions[9] = 1; + return 0; + + case 40034://condition Disease3 + pPlayers[uActiveCharacter]->pConditions[11] = 1; + return 0; + + case 40041://condition Dead + pPlayers[uActiveCharacter]->pConditions[14] = 1; + return 0; + + case 40039://condition Drunk + pPlayers[uActiveCharacter]->pConditions[4] = 1; + return 0; + + case 40042://condition Eradicated + pPlayers[uActiveCharacter]->pConditions[16] = 1; + return 0; + + case 40038://condition Isane + pPlayers[uActiveCharacter]->pConditions[5] = 1; + return 0; + + case 40045://condition Paralized + pPlayers[uActiveCharacter]->pConditions[12] = 1; + return 0; + + case 40033://condition Poison1 + pPlayers[uActiveCharacter]->pConditions[6] = 1; + return 0; + + case 40032://condition Poison2 + pPlayers[uActiveCharacter]->pConditions[8] = 1; + return 0; + + case 40031://condition Poison3 + pPlayers[uActiveCharacter]->pConditions[10] = 1; + return 0; + + case 40029://condition Stone + pPlayers[uActiveCharacter]->pConditions[15] = 1; + return 0; + + case 40040://condition Unconscious + pPlayers[uActiveCharacter]->pConditions[13] = 1; + return 0; + + case 40030://condition Weak + pPlayers[uActiveCharacter]->pConditions[1] = 1; + return 0; + + case 40073://condition Zombie + pPlayers[uActiveCharacter]->pConditions[17] = 1; + return 0; + } } return DefWindowProcA(hWnd, Msg, wParam, lParam);