comparison Player.cpp @ 322:ce39b96acf5c

Killing friendly peasants subs
author Nomad
date Wed, 20 Feb 2013 04:36:14 +0200
parents 981fbe2da232
children 875ba5966ceb
comparison
equal deleted inserted replaced
321:15decc249a94 322:ce39b96acf5c
3507 v30 = dword_4EDEA0[v8]; 3507 v30 = dword_4EDEA0[v8];
3508 v29 = dword_4EDEB4[v9 % 100 / 20]; 3508 v29 = dword_4EDEB4[v9 % 100 / 20];
3509 v10 = v5->pMonsterInfo.uLevel + 100 * (_steal_perm + reputation); 3509 v10 = v5->pMonsterInfo.uLevel + 100 * (_steal_perm + reputation);
3510 if ( rand() % 100 < 5 || v10 > v29 + v7 * v30 || (_steal_perma = 2, BYTE2(v5->uAttributes) & 8) ) 3510 if ( rand() % 100 < 5 || v10 > v29 + v7 * v30 || (_steal_perma = 2, BYTE2(v5->uAttributes) & 8) )
3511 { 3511 {
3512 Actor::_43AC45(uActorID, 1); 3512 Actor::AggroSurroundingPeasants(uActorID, 1);
3513 _steal_perma = 0; 3513 _steal_perma = 0;
3514 v26 = (int)v31->pName; 3514 v26 = (int)v31->pName;
3515 v25 = pGlobalTXT_LocalizationStrings[376]; 3515 v25 = pGlobalTXT_LocalizationStrings[376];
3516 } 3516 }
3517 else 3517 else