Hylia's Bargain is a spell granted to the player if they choose to use the Triforce to "Manifest Hylia's Grief." It forms a trinity with Hylia's Anger and Hylia's Acceptance, and is a companion to Hylia's Contract.

When cast, Hylia's Bargain will give the player a random number of Rupees. Green Rupees are the most common, while Gold Rupees are the least common.

Rupee | Value
(Gold) | Summoning
Chance (%) | Amount
Summoned |
---|---|---|---|

Green | 10 | 50 | 1 - 50 |

Blue | 50 | 10 | 1 - 10 |

Yellow | 100 | 10 | 1 - 10 |

Red | 200 | 10 | 1 - 5 or 1 - 10 |

Purple | 500 | 5 | 1 - 5 |

Orange | 1000 | 8 | 1 or 1 - 5 |

Silver | 2000 | 4 | 1 or 1 - 5 |

Gold | 3000 | 3 | 1 |

Rupoor | 100* | 7 | 1 - 10 |

*See *Rupees* or *Hylia's Contract* for more information.

### Process Details Edit

Hylia's Bargain functions on a script using random number generation. Three numbers, *count*, *countsmall, *and *counttiny,* are randomly generated by the script. *Count* will be between 1 and 100, *countsmall* will be between 1 and 10, and* counttiny *will be between 1 and 5.

If *count* is less than or equal to 50, then Green Rupees will be generated, using *count* as the number of granted Rupees. Because *count* is already less than or equal to 50, there will be at most 50 Green Rupees in this case.

If *count* is between 51 and 60, including those values, then Blue Rupees will be generated. *Countsmall* dictates the number of Blue Rupees generated, which will be between 1 and 10.

If *count* is between 61 and 70, including those values, then Yellow Rupees will be generated. *Countsmall* dictates the number of Yellow Rupees generated, which will be between 1 and 10.

If *count* is between 71 and 75, including those values, then Red Rupees will be generated. *Counttiny* dictates the number of Red Rupees generated, which will be between 1 and 5.

If *count* is between 76 and 80, including those values, then Red Rupees will be generated. *Countsmall* dictates the number of Red Rupees generated, which will be between 1 and 10. This means that there is a total 10% chance of receiving Red Rupees, but a slim chance of receiving more than 5.

If *count* is between 81 and 85, including those values, then Purple Rupees will be generated. *Counttiny *dictates the number of Purple Rupees generated, which will be between 1 and 5.

If *count* is between 86 and 90, including those values, then a single Orange Rupee will be generated.

If *count* is between 91 and 93, including those values, then Orange Rupees will be generated. *Counttiny *dictates the number of Orange Rupees generated, which will be between 1 and 5.

If *count* is between 94 and 96, including those values, then a single Silver Rupee will be generated.

If *count* is exactly 97, then Silver Rupees will be generated. *Counttiny *dictates the number of Silver Rupees generated, which will be between 1 and 5.

If *count* is exactly 98 or 99, then a single Gold Rupee will be generated.

If *count* is exactly 100, then Gold Rupees will be generated. *Counttiny *dictates the number of Gold Rupees generated, which will be between 1 and 5.

Finally, if *count* is 13, 26, 39, 52, 65, 78, or 91, then Rupoors will be generated. *Countsmall *dictates the number of Rupoors generated, which will be between 1 and 10.

## Background and Inspiration Edit

Hylia's Bargain is not a canon spell. It was added in version 6.0 as a reward for completing the Triforce, essentially granting the player infinite wealth.

Hylia's Bargain is named for one of the five stages of grief in the Kübler-Ross model.