[pre lang="javascript" file="Util_MapDamagePopup.js"]/*:
-------------------------------------------------------------------------------
@title mapDamagePopup
@author gonglinyuan
@version 0.1.0
@date 2016-04-19
@filename Util_MapDamagePopup.js
-------------------------------------------------------------------------------
@plugindesc pop up damage on map characters
@help
You can invoke the mapDamagePopup with the following pluginCommand:
mapDamagePopup <character> <row> <value> [isCritical?]
<character>: Number of character on a map to show the damage. A positive number indicates an event number. 0 indicates the current event. -1 indicates the player. -2,-3,-4,... indicates followers.
<row>: Number of rows in "System/Damage.png". Numbered form 0 to 4. Row 4 indicates "Miss".
<value>: Value of damage. It is supposed to be above 0. (If it is negative, it might make the row to increase 1 according to the implementation of "createDigits" method.)
[isCritical?]: Whether it is critical damage or not. "true" indicates it is critical, otherwise not.
*/
(function() {