mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Compare commits
1 Commits
add-tick-d
...
fix-item-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
315e34185a |
@@ -152,12 +152,6 @@ public final class DebugInterface {
|
|||||||
public void onClick(View arg0) {
|
public void onClick(View arg0) {
|
||||||
showToast(mainActivity, "DEBUG: map=" + world.model.currentMaps.map.name , Toast.LENGTH_SHORT);
|
showToast(mainActivity, "DEBUG: map=" + world.model.currentMaps.map.name , Toast.LENGTH_SHORT);
|
||||||
}
|
}
|
||||||
})
|
|
||||||
,new DebugButton("tick-10", new OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View arg0) {
|
|
||||||
world.model.worldData.tickWorldTime(10);
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
@@ -250,7 +250,8 @@ public final class CombatController implements VisualEffectCompletedCallback {
|
|||||||
if (!loot.hasItemsOrGold()) {
|
if (!loot.hasItemsOrGold()) {
|
||||||
world.model.currentMaps.map.removeGroundLoot(loot);
|
world.model.currentMaps.map.removeGroundLoot(loot);
|
||||||
} else if (world.model.uiSelections.isInCombat) {
|
} else if (world.model.uiSelections.isInCombat) {
|
||||||
killedMonsterBags.add(loot);
|
if(!killedMonsterBags.contains(loot))
|
||||||
|
killedMonsterBags.add(loot);
|
||||||
}
|
}
|
||||||
|
|
||||||
combatActionListeners.onPlayerKilledMonster(killedMonster);
|
combatActionListeners.onPlayerKilledMonster(killedMonster);
|
||||||
|
|||||||
Reference in New Issue
Block a user