- "VANILLA:GOLD_INGOT:5:command1;command2" # TYPE:ITEM:FAVOR:COMMANDS
Hello again. As far as I understand, the chance of accepting or not accepting an offering to God is somewhere 50/50 or in some other ratio? I'll add a proposal to https://github.com/xIdentified/Devotions/pulse
It would be advisable to put this in config. And add a parameter in the above line that would be responsible for redefining the chance. Let's say:
- "VANILLA:GOLD_INGOT:5-0.4:command1;command2" # TYPE:ITEM:FAVOR-CHANCE:COMMANDS, i.e. God will accept a gold bar with a 40% chance, and
- "VANILLA:NETHER_STAR:50-0.9:give {player} diamond 5 - will accept with a 90% chance
if it is stated simply
"VANILLA:NETHER_STAR:50:give {player} diamond 5 -- then the chance of being accepted by God = default parameter