comparison mm7_2.cpp @ 943:ffc32cabc5f5

Party conditions for debug menu
author Ritor1
date Wed, 01 May 2013 17:06:18 +0600
parents 530e3d5ab48d
children 7cbe4f80e322
comparison
equal deleted inserted replaced
942:530e3d5ab48d 943:ffc32cabc5f5
6865 case 40059: 6865 case 40059:
6866 for (uint i = 0; i < 4; ++i) 6866 for (uint i = 0; i < 4; ++i)
6867 pParty->pPlayers[i].uSkillPoints = 50; 6867 pParty->pPlayers[i].uSkillPoints = 50;
6868 return 0; 6868 return 0;
6869 6869
6870 case 40044://conditions 6870 case 40044://condition Afraid/fear
6871 pPlayers[uActiveCharacter]->pConditions[3] = 1; 6871 pPlayers[uActiveCharacter]->pConditions[3] = 1;
6872 return 0;
6873
6874 case 40043://condition Asleep
6875 pPlayers[uActiveCharacter]->pConditions[2] = 1;
6876 return 0;
6877
6878 case 40037://condition Curse
6879 pPlayers[uActiveCharacter]->pConditions[0] = 1;
6880 return 0;
6881
6882 case 40036://condition Disease1
6883 pPlayers[uActiveCharacter]->pConditions[7] = 1;
6884 return 0;
6885
6886 case 40035://condition Disease2
6887 pPlayers[uActiveCharacter]->pConditions[9] = 1;
6888 return 0;
6889
6890 case 40034://condition Disease3
6891 pPlayers[uActiveCharacter]->pConditions[11] = 1;
6892 return 0;
6893
6894 case 40041://condition Dead
6895 pPlayers[uActiveCharacter]->pConditions[14] = 1;
6896 return 0;
6897
6898 case 40039://condition Drunk
6899 pPlayers[uActiveCharacter]->pConditions[4] = 1;
6900 return 0;
6901
6902 case 40042://condition Eradicated
6903 pPlayers[uActiveCharacter]->pConditions[16] = 1;
6904 return 0;
6905
6906 case 40038://condition Isane
6907 pPlayers[uActiveCharacter]->pConditions[5] = 1;
6908 return 0;
6909
6910 case 40045://condition Paralized
6911 pPlayers[uActiveCharacter]->pConditions[12] = 1;
6912 return 0;
6913
6914 case 40033://condition Poison1
6915 pPlayers[uActiveCharacter]->pConditions[6] = 1;
6916 return 0;
6917
6918 case 40032://condition Poison2
6919 pPlayers[uActiveCharacter]->pConditions[8] = 1;
6920 return 0;
6921
6922 case 40031://condition Poison3
6923 pPlayers[uActiveCharacter]->pConditions[10] = 1;
6924 return 0;
6925
6926 case 40029://condition Stone
6927 pPlayers[uActiveCharacter]->pConditions[15] = 1;
6928 return 0;
6929
6930 case 40040://condition Unconscious
6931 pPlayers[uActiveCharacter]->pConditions[13] = 1;
6932 return 0;
6933
6934 case 40030://condition Weak
6935 pPlayers[uActiveCharacter]->pConditions[1] = 1;
6936 return 0;
6937
6938 case 40073://condition Zombie
6939 pPlayers[uActiveCharacter]->pConditions[17] = 1;
6872 return 0; 6940 return 0;
6873 6941
6874 } 6942 }
6875 } 6943 }
6876 return DefWindowProcA(hWnd, Msg, wParam, lParam); 6944 return DefWindowProcA(hWnd, Msg, wParam, lParam);