Sophisticated attack command

Bug #56407 reported by Jonathan Lange
2
Affects Status Importance Assigned to Milestone
Joybot
Fix Released
High
Jonathan Lange

Bug Description

The 'hit' command should allow the player to specify
 * their OCV
 * the target
 * the target's DCV
 * the damage of their attack
 * the target's defenses, including
   * normal defence
   * resistant defence
   * possibly damage reduction
 * the END cost of the player's attack

When this information is not specified, it should be obtained from statistics set with the 'set' command. If any of this information is neither specified nor set with the 'set' command, hit should calculate as much as it can, and make it clear that any results are "raw".

Examples:
      <RAOF> hit goblin1
      <joybot> goblin1 hit (by 4) for 4 STUN 1 BODY

(without target)
      <RAOF> hit dcv=5
      <joybot> hit (by 1) for 4 STUN 1 BODY (RAW)

(without all target information)
    (without target PD/ED)
      <RAOF> hit goblin2
      <joybot> goblin2 hit (by 1) for 12 STUN 4 BODY (RAW)
    (without target PD/ED or DCV)
      <RAOF> hit goblin3
      <joybot> goblin3 hit (if DCV<=5) for 5 STUN 1 BODY (RAW)

(with aliases)
      <RAOF> def sword dmg=2d6k OCV=+1 END=3
      <RAOF> def martial-strike OCV=+2 DCV=-1 dmg=+2DC
      <RAOF> hit goblin1 martial-strike sword
      <joybot> goblin1 hit for 20 STUN 10 BODY
      <RAOF> def sword-slash martial-strike sword
      <RAOF> hit goblin1 sword-slash
      <joybot> [[some damage data here]]
      <RAOF> def deathball OCV=15 dmg=10d6k
      <GM> hit RAOF from=goblin1
      <joybot> goblin1 misses RAOF

The syntax of the hit command might look like this:
      hit [<target>] <attack>
      <attack> ::= OCV=<value>, DCV=<value>, DMG=<damage>
      <value> ::= <integer> | <modifier>
      <damage> ::= <killing> | <normal> | <damage class>

description: updated
Changed in joybot:
importance: Untriaged → Wishlist
status: Unconfirmed → Confirmed
Jonathan Lange (jml)
Changed in joybot:
assignee: nobody → jml-mumak
importance: Wishlist → High
Jonathan Lange (jml)
description: updated
Changed in joybot:
status: Confirmed → Unconfirmed
status: Unconfirmed → Confirmed
Revision history for this message
Chris Halse Rogers (raof) wrote :

All but END and defences implemented. These don't really make sense until we have attributes (via SET) for actors

Changed in joybot:
status: Confirmed → Fix Committed
Changed in joybot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.