Hello PlayFab team!
Title id: 78EA5
Rule: CheckDoubles
My title has a collectible card game aspect. Every card is set to be "Stackable" and "Consumable" by count (1).
Players are not supposed to have more than 1 of the same card. Hence, I have implemented a CloudScript that automatically consumes 1 use of the card when it is obtained as a duplicate and grants player with some VC.
The CloudScript works very well. But, I have set up a Rule that triggers the CloudScript only when the Item "RemainingUses" are Above 1.0 to avoid executing CloudScript when not required and save computing time. See below:
Problem is whatever I put as "RemainingUses" condition, the rule never triggers. When only checking the Item's class, it works very well. As soon as I try to set up "RemainingUses" - "Is greater than" - "1.0" or whatever other settings for "RemaininUses", it doesn't work.
What am I missing here please?
Thanks!