Script integration

A few example .py scripts
Improvements on the lootservice design
This commit is contained in:
CharonInferar
2014-04-08 04:08:52 +02:00
parent 9526eee9d6
commit d848e89edb
13 changed files with 150 additions and 62 deletions
@@ -453,6 +453,15 @@ public class TangibleObject extends SWGObject {
}
}
public List<LootGroup> getLootGroups() {
return lootGroups;
}
public void addToLootGroups(String[] lootPoolName, int[] lootPoolChance, int lootGroupChance) {
LootGroup lootGroup = new LootGroup(lootPoolName, lootPoolChance, lootGroupChance);
this.lootGroups.add(lootGroup);
}
@Override
public void sendBaselines(Client destination) {
@@ -477,13 +486,4 @@ public class TangibleObject extends SWGObject {
}
public List<LootGroup> getLootGroups() {
return lootGroups;
}
public void addToLootGroups(String[] lootPoolName, int[] lootPoolChance, int lootGroupChance) {
LootGroup lootGroup = new LootGroup(lootPoolName, lootPoolChance, lootGroupChance);
this.lootGroups.add(lootGroup);
}
}