Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:
- coords = "416|378 413|369 415|370 416|369 418|369 418|371 419|371 419|370 420|371 420|369 420|368 420|367 421|370 425|372 424|369 424|368 425|368 425|369 425|367 427|367 427|369 449|362 424|364 423|365 425|366 424|366 425|367 444|359 445|359 446|359 447|359 448|360 449|359 424|342 426|346 424|346 425|346 424|347 425|347 422|348 426|354 424|353 427|351 428|344 429|344 429|341 428|340 431|341 429|340 433|338 437|337 436|336 435|336 434|336 437|335 431|357 433|361 433|363 433|364 435|360 438|359 438|355 439|355 439|354 441|353 442|355 441|353 442|351 443|352 444|356 445|356 445|355 444|355 446|350 434|364 430|358 427|360 434|361 437|361 438|362 439|364 438|363 437|363 437|364 436|365 434|366 433|367 431|367 427|368 428|368 431|369 439|367 439|366 439|364 441|367 442|369".split(" ");
- index = Math.round(Math.random() * (coords.length - 1));
- document.getElementsByClassName("target-input-field target-input-autocomplete ui-autocomplete-input")[0].value = coords[index];
- units("spear",0); //Pikinierzy
- units("sword",0); //Miecznicy
- units("axe",100); //Topornicy
- units("archer",0); //Lucznicy
- units("spy",0); //Zwiadowcy
- units("light",50); //Lekka Kawaleria
- units("marcher",0); //Lucznicy na Koniu
- units("heavy",0); //Ciezka Kawaleria
- units("ram",0); //Tarany
- units("catapult",12) //Katapulty
- units("snob",0); //Szlachcic
- function units(name, value) {
- if(document.getElementById("unit_input_"+name)!== null)
- {document.getElementById("unit_input_"+name).value=value;}}
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement