Quote:
Originally Posted by marcbacor6666
are you using any public source that u cant find in elitepvpers? if you do
find this
Code:
if (sub > 41)
{
Damage = 1;
}
remove that
if ur not using any public sources and u made ur own base source , i cant pinpoint u where to change but only in attack calculation.
|
Thats not necessarily the case, and the variable name could also be something completely different, such as dmg.
Could be a calculation where its being multiplied or divided by 0 which obviously results in 0, and majority of sources have a check to make the damage = 1 whenever damage is less than 1.
As I stated previously, you need to find your interaction packet(1022) and follow that until you reach the damage calculations.
Or as others suggest, you could search for 'attack' or 'damage' or dmg'. Keywords like that.
Also, if the source is organized in any way, it should be rather obvious to find. I have seen some sources have it simply under Attack.cs, some have a combat or attack manager, some even have them under the Entity or Player class.