RuneScape Wiki
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
{{JSCalculator}} {{Calc use|Template:Form calculator|Calculator:Skill calculators/Template}}
<pre class="jcConfig">
 
template = :Skill calculators/Magic/temp
 
form = Form
 
result = Result
 
param = xplvlc|Calculate current level or XP?|Level|select|Level,Experience
 
param = nowxp|Your current level/XP (per above)|1|number|1-
 
param = xplvld|Calculate desired level or XP?|Level|select|Level,Experience
 
param = wantxp|Your desired level/XP (per above)|2|number|1-
 
param = hit|Average hit using Ancient Magics (optional)|0|number
 
</pre>
 
   
  +
{{Form calculator
{|
 
  +
|page = Calculator:Magic
|<div id="Form">The form will appear here when it loads. If it fails you load, you can still calculate with the formulas given below.</div> ||
 
  +
|cat = Magic
*This calculator will determine how many times you must cast a spell to reach your desired goal.
 
 
|template = Calculator:Skill calculators/Template
*The calculator is assuming that you will only be casting one spell to reach your goal.
 
  +
|form = SkillCalcForm
*If you are using Ancient combat spells, you may wish to provide your average hit as to make the calculator more accurate.
 
  +
|result = SkillCalcResult
*The cost of each spell can be greatly decreased by using elemental staves and such, or any other equipment that saves runes
 
  +
|outputtype = basic
|}
 
  +
|param1 = name
  +
|label1 = Name
  +
|default1 =
  +
|type1 = hs
  +
|range1 = current,7,2
  +
|param2 = currToggle
  +
|label2 = Current: Level or Experience?
  +
|default2 = Experience
  +
|type2 = select
  +
|range2 = Level,Experience
  +
|param3 = current
  +
|label3 = Current (per choice above)
  +
|default3 = 1
  +
|type3 = int
  +
|range3 = 0-200000000
  +
|param4 = goalToggle
  +
|label4 = Goal: Level or Experience?
  +
|default4 = Level
  +
|type4 = select
  +
|range4 = Level,Experience
  +
|param5 = goal
  +
|label5 = Goal (per choice above)
  +
|default5 = 2
  +
|type5 = int
  +
|range5 = 0-200000000
  +
|param6 = avatar
  +
|label6 = Avatar Bonus (%)
  +
|default6 = 0
  +
|type6 = select
  +
|range6 = 0,3,4,5,6
  +
|param7 = disp
  +
|label7 = Skill Sub-Category
  +
|type7 = select
  +
|range7 = Alchemy, Enchantment, Teleportation, Other
  +
|default7 = Alchemy
  +
|param8 = skill
  +
|label8 = Skill
  +
|default8 = Magic
  +
|type8 = hidden
 
}}
   
 
[[Category:Calculators]] [[Category:Skill_calculators]]
<div id="Result">
 
{{:Skill calculators/Magic/temp/basic}}
 
</div>
 
 
 
{| class="wikitable collapsible collapsed" width="100%"
 
!Formula information
 
|-
 
|
 
{|
 
|<math>\lceil\frac{Y - X}{Z}\rceil = A</math>
 
|<math>\lceil\frac{Y - (X + 0.2B)}{Z}\rceil \approx A</math>
 
|}
 
*Y is the desired XP
 
*X is the current XP
 
*Z is the XP granted by the action being calculated
 
*A is the number of performances of action Z (spells cast)
 
*B is your average hit when casting the ancient spell you are calculating for
 
 
''For those unaware, the <math>\lceil X \rceil</math> symbols denote rounding '''up''' to the nearest whole number.''
 
|-
 
|[[Skill calculators/Magic/temp|Template]] ([[Skill calculators/Magic/temp/item|item]]) ([[Skill calculators/Magic/temp/item (a)|a]]) ([[Skill calculators/Magic/temp/item (b)|b]]) [[Skill calculators/Magic/temp/basic|Basic]]
 
|}
 
[[Category:Calculators]]
 
[[Category:Calculators that need to be checked]]
 

Latest revision as of 09:17, 5 August 2018

Clockwork
This is a dynamic calculator that requires Javascript.
This takes user input via Javascript, and may use changing prices from the Grand Exchange Market Watch.
If prices appear to be outdated, purge the page by clicking here.
Templates
Templates used
Form calculator
Skill calculators/Template
The calculator form will appear here soon. You will need Javascript enabled and cannot be using the mobile version of the Wiki. If you are on a mobile device, you can load the full version of the site by clicking here.
The result will appear here when you submit the form.