aboutsummaryrefslogtreecommitdiffstats
path: root/js/guild.js
blob: 28f58b854fe5fda3d7165ed0e7ada46e187f6d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function hireMiner(){
	sendRequest("craftmine.php", "op=hireMiner", function() {
		//datas.gold -= parseInt(datas.mine);
		var ret = xhr.responseText;
		console.log(ret);
		//datas.gold = ret;
		//updateDatas("gold");
		//updateDatas("miners");
	})
}
	
function createGuild(){
	sendRequest("craftmine.php", "op=createGuild", function() {
		var ret = xhr.responseText;
		console.log(ret);
	})
}