====== DiceyScript.getstatus Method ====== ''getstatus(status: String) -> amount:Int'' ===== Definition ===== 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. ===== Parameters ===== ''status'': String The status to check. If status == "all" (or the constant ''ALL''), getstatus counts every single status on the opposing fighter. ===== Returns ===== ''amount'': Int The number of status effects of type ''status'' on the opposing fighter.