Support withdraw

Penetier

New Member
Reaction score
1
Good afternoon,

Would like to request for approval the Support withdraw script.

JavaScript:
javascript:
/**
* Coded by WildWang, March 2021
* Taking in script requests. DM me on TW forums or Discord: WildWang#5614
* Use above contact for any bugs found.
*
* v1.0.0
* Script withdraws support from fastest to slowest
* If paladin is included in village, all troops (after settings) will be withdrawn with paladin
*/
var settings = {
// Min support troop counts to keep from each village
minTroopCounts: {
'spear': 0,
'sword': 0,
'axe': 0,
'archer': 0,
'spy': 0,
'light': 0,
'marcher': 0,
'heavy': 0,
'ram': 0,
'catapult': 0,
'knight': 0,
'snob': 0
},
// List of coords to withdraw support from. If left empty, script will withdraw from all
coords: '', // coords should be delimited by spaces (ie. 500|500 501|501)
// Ratio of troops to withdraw
troopWithdrawRatio: 1,
};
$.getScript('https://dl.dropboxusercontent.com/s/4wphvlnxl4i631q/WildWang_supportWithdraw_1.0.0.js?dl=0');

This script is approved for use on .net here https://forum.tribalwars.net/index.php?threads/support-withdrawal.286865/#post-7143634

Script is ran from a village info screen and will form fill the withdraw units section primarily for use withdrawing troops by their walk speed.

Appreciate your consideration.


Best regards,
Penetier
 
Last edited by a moderator:
Top