Difference between revisions of "Attack"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{ #vardefine:name|attack}}{{ #vardefine:return_type|buffer}}{{ FunctionPage| name={{#var:name}}| function_category=In-combat Consulting| function1={{Function| name={{#var:name…')
 
imported>StDoodle
m
Line 19: Line 19:
  
 
see_also={{SeeAlso|runaway|throw_items|use_skill}}|
 
see_also={{SeeAlso|runaway|throw_items|use_skill}}|
cli_equiv=The CCS entry of "attack with weapon" accomplishes the same function.|
+
cli_equiv=The CCS entry of "attack with weapon" accomplishes the same function. (You can change your CCS with the command "ccs" on the CLI.)|
 
more_info= See [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]] for more information.|
 
more_info= See [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]] for more information.|
 
special=Returns an empty buffer if used outside of a consult script.|
 
special=Returns an empty buffer if used outside of a consult script.|
 
}}
 
}}

Revision as of 18:53, 10 March 2010

needs(code_samples);

Function Syntax

buffer attack()

Attacks with your weapon during a consult script, and returns the fight page text of the resulting round.

CLI Equivalent

The CCS entry of "attack with weapon" accomplishes the same function. (You can change your CCS with the command "ccs" on the CLI.)

See Also

runaway() | throw_items() | use_skill()

More Information

See Consult Scripts for more information.

Special

Returns an empty buffer if used outside of a consult script.