getstatus(status: String) → amount:Int
Counts the total number of status effects of type status inflicted on the opposing fighter.
For example, if an enemy has 3 freeze and 1 burn, getstatus(“ice”) will return a 3, while getstatus(“all”) will return a 4 since it counts all of the status effects.
status: String
The status to check.
If status == “all” (or the constant ALL), getstatus counts every single status on the opposing fighter.
amount: Int
The number of status effects of type status on the opposing fighter.