pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Javascript pastebin - collaborative debugging tool View Help


Posted by Sephi-Chan on Sun 11 May 16:45
report abuse | download | new post

  1. {
  2.         "name"                  : "Attack",
  3.        
  4.         "status"                : [ "crushed", "hit", "miss", "dodged", "countered", "blocked" ],
  5.         "actors"                : [ "castingUnit", "targetedUnit" ],
  6.  
  7.         "onCast"                : {
  8.                 "action"        : "callEvent",
  9.                 "event"         : "onHit"
  10.         },
  11.         "onHit"                 : {
  12.                 "subject"       : "{castingUnit}"
  13.                 "action"        : "damage",
  14.                 "type"          : "physical",
  15.                 "quantity"      : "{{castingUnit}.strength} * {{castingUnit}.gear.mainHand.damages}",
  16.                 "target"        : "{targetedUnit}"
  17.         },
  18.         "onCrush"               : {
  19.                 "subject"       : "{castingUnit}"
  20.                 "action"        : "damage",
  21.                 "type"          : "physical",
  22.                 "quantity"      : "{{castingUnit}.profile.strength}} * 1.8 * {{castingUnit}.gear.mainHand.damages}",
  23.                 "target"        : "{targetedUnit}"
  24.         },
  25.         "onCounter"             : {
  26.                 "subject"       : "{targetedUnit}"
  27.                 "cast"          : "Attack",
  28.                 "target"        : "{castingUnit}"
  29.         }
  30. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post