I found this lines part of TMCard
I was wondering how to include the following:
1. When a switch is ON / OFF
2. When a variable value is less, greater, equal to.. .etc..
3. When the player is affected by a state.
I checked out triacontane's EquipConditionExtend, but was unsuccessful just adding the inequalities..
This is the part that grays out the card making in unable to equip on the deck. Thank you for the solution.
JavaScript:
// wether to show the card in the list
Window_DeckEditItem.prototype.isEnabled = function(item) {
if (item === null) return true;
if (!TMPlugin.Card.SameCard && this._otherSlotCardIds.contains(item.id)) {
return false;
}
return this._capacity >= +item.meta.cardCost && item.id !== this._currentCardId;
};
I was wondering how to include the following:
1. When a switch is ON / OFF
2. When a variable value is less, greater, equal to.. .etc..
3. When the player is affected by a state.
I checked out triacontane's EquipConditionExtend, but was unsuccessful just adding the inequalities..
This is the part that grays out the card making in unable to equip on the deck. Thank you for the solution.