This is the script of it, I can't find any issue with it, I tried a lot of things like adding a equality sign after the multiplying one, but i didn't change anything I also get a lot of blue lines in logs that say: "suggest parentheses around assignment used as truth value"
#include <iostream>
using namespace std;
int main()
{
int attackfirst;
int zycieofiary;
int tarczaofiary;
int efektywnosctypu;
cout << "Podaj atak atakujacego: ";
cin >> attackfirst;
cout << "Podaj tarcze: ";
cin >> tarczaofiary;
cout << "Podaj zycie ofiary: ";
cin >> zycieofiary;
cout << "Podaj efektywnosc typu: ";
cin >> efektywnosctypu;
tarczaofiary=tarczaofiary/2;
attackfirst=attackfirst-tarczaofiary;
if(efektywnosctypu=1) {
attackfirst=0;}
if(efektywnosctypu=2) {
attackfirst=attackfirst*=0.75;}
if(efektywnosctypu=3) {
attackfirst=attackfirst;}
if(efektywnosctypu=4) {
attackfirst=attackfirst*=1.25;}
if(efektywnosctypu=5) {
attackfirst=attackfirst*=1.5;}
zycieofiary=zycieofiary-attackfirst;
cout << "Zycie ofiary to: ";
cout << zycieofiary;
return 0;
}