mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18: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();
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user