for the actual thing to trip the trigger for Unequip

This commit is contained in:
jendave
2011-08-06 20:09:11 +00:00
parent bd138e13fd
commit f75eb8838f

View File

@@ -1674,6 +1674,12 @@ public class Card extends MyObservable {
this.unEquip();
equipping.remove(c);
c.removeEquippedBy(this);
//Run triggers
HashMap<String,Object> runParams = new HashMap<String,Object>();
runParams.put("Equipment", this);
runParams.put("Card", c);
AllZone.TriggerHandler.runTrigger("Unequip", runParams);
}
public void unEquipAllCards() {