One should get the war loot bonus depending upon the stars he or she has took from the opponent!
For example-Suppose i attacked a person named Arjun in war and the war loot bonus is 150,000!
If i took one star from him , i should get one third of the war loot i.e. 50,000! Similarly if i took two stars then i should get 100,000! And if i got three stars ,then i should get the whole loot i.e. 150,00!

