mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
for the actual thing to trip the trigger for Unequip
This commit is contained in:
@@ -1674,6 +1674,12 @@ public class Card extends MyObservable {
|
|||||||
this.unEquip();
|
this.unEquip();
|
||||||
equipping.remove(c);
|
equipping.remove(c);
|
||||||
c.removeEquippedBy(this);
|
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() {
|
public void unEquipAllCards() {
|
||||||
|
|||||||
Reference in New Issue
Block a user