gschizas / fallenswordhelper

MIT License
1 stars 11 forks source link

Updates to GVG and targets #1272

Closed gschizas closed 9 years ago

gschizas commented 9 years ago

Original issue 1273 created by gschizas on 2012-05-15T18:10:25.000Z:

After the recent updates to the GVG, the orange coloring on guilds to show which members can be targeted for a conflict isn't 100% correct any more. Could FSH be updated to correct this issue and show players that are within range for a GVG conflict?

gschizas commented 9 years ago

Comment #1 originally posted by gschizas on 2012-08-05T22:31:11.000Z:

Here is temporary fix for this problem:

Locate line 2052, it looks like this:

} else if (highlightGvGPlayersNearMyLvl && Math.abs(vlevel - levelToTest) <= 25) {

and replace line 2052 with this line:

} else if (highlightGvGPlayersNearMyLvl && Math.abs(vlevel - levelToTest) <= ((levelToTest <= 300)?25:(levelToTest > 300 && levelToTest <= 700)?50:100)) {

Also, please note that this is maybe not 100% correct as I currently don't know if, for example, player on level 301 is able to attack -50 or -25 of player level (or lowest player with level 251 or 276), same for other level ranges.

gschizas commented 9 years ago

Comment #2 originally posted by gschizas on 2012-08-30T14:33:09.000Z:

will be fixed in next version