Get kb formula

Returns the resulting amount of knockback a player would get if they were hit with the specified stats. Usually used in tandem with

Syntax
get_kb_formula( damage, kb_adj, kb_mult, hbox_damage, hbox_bkb, hbox_kb_scale );

Returns
int (simlated knockback value)

Basic
// This simulates knockback in an article as if it were a player, to be used elsewhere: orig_knock = get_kb_formula(damage, knockback_adj, 1.0, enemy_hitboxID.damage, enemy_hitboxID.kb_value, enemy_hitboxID.kb_scale);

Advanced
// Advanced code example if necessary. // If another code block is needed, take a look at this one in the Source Editor.