Difference between pages "My lightning" and "Thunder cost"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Bale
(categories)
 
imported>Bale
(r14409)
 
Line 1: Line 1:
 
{{
 
{{
#vardefine:name|my_lightning}}{{
+
#vardefine:name|thunder_cost}}{{
 
#vardefine:return_type|int}}{{
 
#vardefine:return_type|int}}{{
  
Line 12: Line 12:
 
return_type={{#var:return_type}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
return_also={{#var:return_also}}|
 +
parameter1={{Param|skill|thunder_skill}}|
 +
p1desc={{Pspan|thunder_skill}} is the skill to check the cost of|
 
}}|
 
}}|
  
function_description=Returns your current bolts of {{kolwiki|Heavy_Rains|Lightning}}.|
+
function_description=Returns the dB cost for the given {{pspan|thunder_skill}}.|
see_also={{SeeAlso|my_thunder|my_rain}}|
+
see_also={{SeeAlso|rain_cost|lightning_cost}}|
needscode=yes|
+
needscode=yes|  
 
}}
 
}}
  
[[Category:Your Character]] [[Category:Skills and Effects]]
+
[[Category:Skills and Effects]]

Revision as of 04:15, 4 November 2014

needs(code_samples);

Function Syntax

int thunder_cost(skill thunder_skill )

  • thunder_skill is the skill to check the cost of

Returns the dB cost for the given thunder_skill.

See Also

rain_cost() | lightning_cost()