void CInfCreature::SetAC(int nValue) { if (GetAC() != nValue) m_bHasChanged = TRUE; m_infCre.nAC1 = nValue; m_infCre.nAC2 = nValue; }
void WearableItem::UnapplyStatChanges(Player* p) { p->SetSTR(p->GetSTR() - GetSTR()); p->SetDEX(p->GetDEX() - GetDEX()); p->SetACC(p->GetACC() - GetACC()); p->SetAC(p->GetAC() - GetAC()); }