setTeamScore :: (WorldObject, Number) -> undefined

Set the score of the team in which the given WorldObject is. Then first argument is currently ignored, as it's not possible to create multi-team encounters.