function c_generatecombatstack(combatants=[]) { log(combatants); //c_doallhook(hooks.precombat); for (i=0; i