# User:Mzs/Template:Custom Gain

See Blog:Mzs/Request for Feedback: Non-Standard Gain Messages for more details.

## Examples

### Setting value

Old way:

{{Gain|Transformed by Stairs|Discrete = yes}} ''THE STAIRS HAVE YOU NOW'' (Sets {{IL|Transformed by Stairs}} to 10)
•   THE STAIRS HAVE YOU NOW (Sets to 10)

New way:

{{Custom Gain|Transformed by Stairs|THE STAIRS HAVE YOU NOW|Discrete = yes|to = 10}}
•   THE STAIRS HAVE YOU NOW (Sets to 10)

### Increase value

Old way:

{{Gain|Haunted by Stairs}} ''THE STAIRS HAVE YOU NOW'' (Increases {{IL|Haunted by Stairs}} by 2 CP)
•  Haunted by Stairs is increasing… (+? CP) THE STAIRS HAVE YOU NOW (Increases by 2 CP)

New way:

{{Custom Gain|Haunted by Stairs|THE STAIRS HAVE YOU NOW|2 CP}}
•  Haunted by Stairs is increasing… (+? CP) THE STAIRS HAVE YOU NOW (Increases by 2 CP)

### Increase Discrete value

Old way:

{{Gain|Marsh-Mired in Dreams of Sustenance|Discrete = yes}} ''Time, the Healer, will take Marsh-Mired from you when she passes.'' (Increases {{IL|Marsh-Mired in Dreams of Sustenance}} by 1)
•   Time, the Healer, will take Marsh-Mired from you when she passes. (Increases by 1)

New way:

{{Custom Gain|Marsh-Mired in Dreams of Sustenance|Time, the Healer, will take Marsh-Mired from you when she passes.|Discrete = yes|1}}
•   Time, the Healer, will take Marsh-Mired from you when she passes. (Increases by 1)