Template:EggTable: Difference between revisions

Corrected math and added buffs/min
Tags: Mobile edit Mobile web edit Advanced mobile edit
LVL (talk | contribs)
Add data-round="floor" to buffs cell for correct rounding
Line 7: Line 7:
| data-base="{{ItemData|Golden Goose Egg|StartingGold}}" data-growth="{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}" {{!}} <span class="stat-num">{{ItemData|Golden Goose Egg|StartingGold}}</span>
| data-base="{{ItemData|Golden Goose Egg|StartingGold}}" data-growth="{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}" {{!}} <span class="stat-num">{{ItemData|Golden Goose Egg|StartingGold}}</span>
| +{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}
| +{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}
| data-base="0" data-growth="{{#expr:{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}/{{ItemData|Golden Goose Egg|BonusBuffsPerGold}}}}" {{!}} <span class="stat-num">0</span>
| data-base="0" data-growth="{{#expr:{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}/{{ItemData|Golden Goose Egg|BonusBuffsPerGold}}}}" data-round="floor" {{!}} <span class="stat-num">0</span>
| +{{#expr:{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}/{{ItemData|Golden Goose Egg|BonusBuffsPerGold}}}}
| +{{#expr:{{ItemData|Golden Goose Egg|BonusGoldPerMinute}}/{{ItemData|Golden Goose Egg|BonusBuffsPerGold}}}}
| From when the player buys the egg
| From when the player buys the egg
|}</div></includeonly><noinclude>{{EggTable}}{{Documentation}}</noinclude>
|}</div></includeonly><noinclude>{{EggTable}}{{Documentation}}</noinclude>