global demage_str# = 10 type botinfo ... field HP ... end type function UpdateBot() for bot.botinfo = each botinfo ... bot\HP = bot\HP - demage_str# ... next