Surgebinding

Surgebinding

294 Downloads

[Allomancy] Push/Pull range should be configurable

leafreynolds opened this issue ยท 2 comments

commented

image

A request to make the range configurable. We could override it specifically for iron and steel.

Currently range is equal to strength * mode (ie burn or flare)

A potential way it could work:

final int mode = Math.max(getMode(data), 0);
final int potentialRange = allomanticStrength * mode;
final int actionableRange = Mth.floor(potentialRange * AllomancyConfigs.SERVER_CONFIG.IRON_STEEL_RANGE.get();)
return actionableRange;

where IRON_STEEL_RANGE would default to 1.0f;

commented

Simple change, only took a couple minutes. I'll test then push

commented

I have discovered that putting the range too high lags the scanning thread hard (no framerate loss, strangely). Exponentially more blocks to scan, after all. Oh well, people will have to test how high they can go.