comparison mm7_5.cpp @ 792:41b4e9769863

Walking in BLV iproved drastically.
author Nomad
date Mon, 25 Mar 2013 07:32:38 +0200
parents b3e08a496778
children 7bb33867d2cb
comparison
equal deleted inserted replaced
791:346f7069676a 792:41b4e9769863
5095 } 5095 }
5096 Actor::Die(uActorID_Monster_); 5096 Actor::Die(uActorID_Monster_);
5097 Actor::ApplyFineForKillingPeasant(uActorID_Monster_); 5097 Actor::ApplyFineForKillingPeasant(uActorID_Monster_);
5098 Actor::AggroSurroundingPeasants(uActorID_Monster_, 1); 5098 Actor::AggroSurroundingPeasants(uActorID_Monster_, 1);
5099 if ( pMonster->pMonsterInfo.uExp ) 5099 if ( pMonster->pMonsterInfo.uExp )
5100 sub_4269A2_GivePartyExp(pMonsterStats->pInfos[pMonster->pMonsterInfo.uID].uExp); 5100 GivePartyExp(pMonsterStats->pInfos[pMonster->pMonsterInfo.uID].uExp);
5101 v40 = SPEECH_51; 5101 v40 = SPEECH_51;
5102 if ( rand() % 100 < 20 ) 5102 if ( rand() % 100 < 20 )
5103 v40 = ((signed int)pMonster->pMonsterInfo.uHP >= 100) + 1; 5103 v40 = ((signed int)pMonster->pMonsterInfo.uHP >= 100) + 1;
5104 player->PlaySound((PlayerSpeech)v40, 0); 5104 player->PlaySound((PlayerSpeech)v40, 0);
5105 v41 = 0; 5105 v41 = 0;
5411 } 5411 }
5412 Actor::Die(uActorID); 5412 Actor::Die(uActorID);
5413 Actor::ApplyFineForKillingPeasant(uActorID); 5413 Actor::ApplyFineForKillingPeasant(uActorID);
5414 Actor::AggroSurroundingPeasants(uActorID, 1); 5414 Actor::AggroSurroundingPeasants(uActorID, 1);
5415 if ( v7->pMonsterInfo.uExp ) 5415 if ( v7->pMonsterInfo.uExp )
5416 sub_4269A2_GivePartyExp(pMonsterStats->pInfos[v7->pMonsterInfo.uID].uExp); 5416 GivePartyExp(pMonsterStats->pInfos[v7->pMonsterInfo.uID].uExp);
5417 v34 = SPEECH_51; 5417 v34 = SPEECH_51;
5418 if ( rand() % 100 < 20 ) 5418 if ( rand() % 100 < 20 )
5419 v34 = ((signed int)v7->pMonsterInfo.uHP >= 100) + 1; 5419 v34 = ((signed int)v7->pMonsterInfo.uHP >= 100) + 1;
5420 v6->PlaySound((PlayerSpeech)v34, 0); 5420 v6->PlaySound((PlayerSpeech)v34, 0);
5421 } 5421 }
5597 } 5597 }
5598 Actor::Die(uActorID); 5598 Actor::Die(uActorID);
5599 Actor::ApplyFineForKillingPeasant(uActorID); 5599 Actor::ApplyFineForKillingPeasant(uActorID);
5600 Actor::AggroSurroundingPeasants(uActorID, 1); 5600 Actor::AggroSurroundingPeasants(uActorID, 1);
5601 if ( v44->pMonsterInfo.uExp ) 5601 if ( v44->pMonsterInfo.uExp )
5602 sub_4269A2_GivePartyExp(pMonsterStats->pInfos[v44->pMonsterInfo.uID].uExp); 5602 GivePartyExp(pMonsterStats->pInfos[v44->pMonsterInfo.uID].uExp);
5603 v64 = SPEECH_51; 5603 v64 = SPEECH_51;
5604 if ( rand() % 100 < 20 ) 5604 if ( rand() % 100 < 20 )
5605 v64 = ((signed int)v44->pMonsterInfo.uHP >= 100) + 1; 5605 v64 = ((signed int)v44->pMonsterInfo.uHP >= 100) + 1;
5606 v45->PlaySound((PlayerSpeech)v64, 0); 5606 v45->PlaySound((PlayerSpeech)v64, 0);
5607 } 5607 }