properly configure hitbox radius
This commit is contained in:
@@ -1046,7 +1046,9 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
||||
if (MBServerStatics.COMBAT_TARGET_HITBOX_DEBUG) {
|
||||
Logger.info("Hit box radius for " + this.getFirstName() + " is " + (this.statStrCurrent / 200f));
|
||||
}
|
||||
return ((PlayerCharacter) this).getStrForClient() / 200f;
|
||||
int strength = ((PlayerCharacter) this).statStrBase;
|
||||
float radius = strength * 0.1f * 0.5f;
|
||||
return radius;
|
||||
//TODO CALCULATE MOB HITBOX BECAUSE FAIL EMU IS FAIL!!!!!!!
|
||||
} else if (this.getObjectType() == GameObjectType.Mob) {
|
||||
if (MBServerStatics.COMBAT_TARGET_HITBOX_DEBUG) {
|
||||
|
||||
Reference in New Issue
Block a user