Talk:Enchanting potion: Difference between revisions
m (Spelling) |
(Response to Doug's question about methods of displaying formulas (I'm having trouble even seeing the first option he displayed)) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
The second, sensitive to viewing area assigned (it's HTML text output and will honor margins and size limits). |
The second, sensitive to viewing area assigned (it's HTML text output and will honor margins and size limits). |
||
{{equation box|{{math|'''Modifiers''' {{=}} MIU |
{{equation box|{{math|'''Modifiers''' {{=}} [[MIU]]{{sub|Bonus}} + [[LOG]]{{sub|Bonus}} + INT{{sub|Bonus}} + '''trunc'''{{ldelim|square|2}}{{sfrac|AUR{{sub|''bonus''}} + WIS{{sub|''bonus''}}|2}}{{rdelim|square|2}} + Potion{{sub|''bonus''}} - Item Enchant{{sub|''bonus''}} - [[Encumbrance]]{{sub|''penalty''}}{{-}} Armor{{sub|''penalty''}}}}}} |
||
To see the difference most visually demonstrated, grab the side of your browser window and move it in (reduce the viewable space in your browser.) |
To see the difference most visually demonstrated, grab the side of your browser window and move it in (reduce the viewable space in your browser.) |
||
Line 16: | Line 16: | ||
Happy to hear thoughts on this. [[User:DOUG|DOUG]] ([[User talk:DOUG|talk]]) 12:46, 12 October 2017 (CDT) |
Happy to hear thoughts on this. [[User:DOUG|DOUG]] ([[User talk:DOUG|talk]]) 12:46, 12 October 2017 (CDT) |
||
:Doug, I can't see the first one at all, I get a very long undecipherable thing which I will paste here in hopes you can see it too: |
|||
:''Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): {\displaystyle \mathrm{Modifiers} = \mathrm{MIU_{Bonus}} + \mathrm{LOG_{Bonus}} + \mathrm{INT_{Bonus}} + \Big\lfloor \frac{\mathrm{AUR_{Bonus} + WIS_{Bonus}}}{2} \Big\rfloor + \mathrm{Potion_{Bonus}} - \mathrm{ItemEnchant_{Bonus}} - \mathrm{Encumbrance_{Penalty}} - \mathrm{Armor_{Penalty}}}'' |
|||
:I see this kind of red-lettered error/code string in a lot of places across the gswiki, and when it occurs, there is never any graphical representation of math or any formula shown. I had thought maybe it was a browser issue, however, I have checked it from Firefox, Chrome, Internet Explorer, and Edge browsers now, and all of them return a "Failed to parse" long string like the above for your Option 1. Your Option 2 displays on all my browsers, except that I see a weird bit of code, "</span></span></span>" just before the opening square bracket. I'm assuming that would be easily fixable. Otherwise, your Option 2 looks great. Anyone with an idea why a viewer would see only the error string in text for Doug's Option 1? I hope this helps. -Soliere [[User:FIRENSIA|FIRENSIA]] ([[User talk:FIRENSIA|talk]]) 08:59, 16 October 2019 (CDT) |
Latest revision as of 07:59, 16 October 2019
For consideration, two different methods of displaying formulas.
The first, not sensitive to screen size / viewing area assigned (it's a graphic and it shows as a graphic (presently) without resizing / scaling capabilities). This is the current method.
The second, sensitive to viewing area assigned (it's HTML text output and will honor margins and size limits).
Modifiers = MIUBonus + LOGBonus + INTBonus + trunc
+ Potionbonus - Item Enchantbonus - Encumbrancepenalty – Armorpenalty |
To see the difference most visually demonstrated, grab the side of your browser window and move it in (reduce the viewable space in your browser.)
You might also note that option two shows up faster than option one. That's because option one actually goes to a third-party system to render the graphic, while the second option builds the string as part of the page presentation. Benefit: we're not tied to whether the third party system is available.
CON: Very complex mathematical formulas (of which we have few, I believe - please correct if wrong) are a pain in the kiester to get well represented outside of a very graphical depiction. So this might not work for all of our game formulas. Just most of them.
Happy to hear thoughts on this. DOUG (talk) 12:46, 12 October 2017 (CDT)
- Doug, I can't see the first one at all, I get a very long undecipherable thing which I will paste here in hopes you can see it too:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): {\displaystyle \mathrm{Modifiers} = \mathrm{MIU_{Bonus}} + \mathrm{LOG_{Bonus}} + \mathrm{INT_{Bonus}} + \Big\lfloor \frac{\mathrm{AUR_{Bonus} + WIS_{Bonus}}}{2} \Big\rfloor + \mathrm{Potion_{Bonus}} - \mathrm{ItemEnchant_{Bonus}} - \mathrm{Encumbrance_{Penalty}} - \mathrm{Armor_{Penalty}}}
- I see this kind of red-lettered error/code string in a lot of places across the gswiki, and when it occurs, there is never any graphical representation of math or any formula shown. I had thought maybe it was a browser issue, however, I have checked it from Firefox, Chrome, Internet Explorer, and Edge browsers now, and all of them return a "Failed to parse" long string like the above for your Option 1. Your Option 2 displays on all my browsers, except that I see a weird bit of code, "" just before the opening square bracket. I'm assuming that would be easily fixable. Otherwise, your Option 2 looks great. Anyone with an idea why a viewer would see only the error string in text for Doug's Option 1? I hope this helps. -Soliere FIRENSIA (talk) 08:59, 16 October 2019 (CDT)