24.12.2011, 17:30
Hi there. I need help with damage count.
We are creating an attack versus defend mode. After base finishes, we have a dialogue which shows who did how many kill and damage. Problem is, if you killed a guy which had 15hp(for example) with deagle it says you took 46 hp from the guy you killed. But it shouldn't be more damage than the guy has. If you hit a guy who has 40 damage with deagle, it should count it as 40 damage, not 46.
Hope you got it. Thanks
We are creating an attack versus defend mode. After base finishes, we have a dialogue which shows who did how many kill and damage. Problem is, if you killed a guy which had 15hp(for example) with deagle it says you took 46 hp from the guy you killed. But it shouldn't be more damage than the guy has. If you hit a guy who has 40 damage with deagle, it should count it as 40 damage, not 46.
Hope you got it. Thanks